You are here

function alpha_pagination_save_views in Views Alpha Pagination 7.2

Saves multiple views.

Parameters

\view[] $views: An array of view objects to save.

1 call to alpha_pagination_save_views()
alpha_pagination_process_views_handler in ./alpha_pagination.module
Processes a view handler in all view instances.

File

./alpha_pagination.module, line 218
Module hooks and alters for the Views Alpha Pagination module.

Code

function alpha_pagination_save_views(array $views = []) {
  foreach ($views as $view) {
    if ($view instanceof \view) {
      alpha_pagination_save_view($view);
    }
  }
}