function views_enable_view in Views (for Drupal 7) 8.3
Enables a view.
Parameters
Drupal\views\ViewStorage $view: The ViewStorage object to disable.
1 call to views_enable_view()
- ModuleTest::testStatusFunctions in lib/
Drupal/ views/ Tests/ ModuleTest.php - Tests view enable and disable procedural wrapper functions.
File
- ./
views.module, line 1665 - Primarily Drupal hooks and global API functions to manipulate views.
Code
function views_enable_view(ViewStorage $view) {
$view
->enable();
}