function hook_views_view_save
Allow modules to respond to a view being saved.
Related topics
1 invocation of hook_views_view_save()
- view::save in includes/
view.inc - Save the view to the database.
File
-
./
views.api.php, line 1329
Code
function hook_views_view_save($view) {
// Make a watchdog entry.
watchdog('views', 'The view @name was deleted by @user at @time', array(
'@name' => $view->name,
'@user' => $GLOBALS['user']->name,
'@time' => format_date(time()),
));
}