views.install
Same filename and directory in other branches
Contains install and update functions for Views.
File
-
core/
modules/ views/ views.install
View source
<?php
/**
* @file
* Contains install and update functions for Views.
*/
/**
* Implements hook_install().
*/
function views_install() : void {
module_set_weight('views', 10);
}
/**
* Implements hook_update_last_removed().
*/
function views_update_last_removed() : int {
return 8500;
}
/**
* Removes the ui.show.advanced_column setting.
*/
function views_update_11201() : void {
$config = \Drupal::configFactory()->getEditable('views.settings');
$config->clear('ui.show.advanced_column');
$config->save();
}
Functions
| Title | Deprecated | Summary |
|---|---|---|
| views_install | Implements hook_install(). | |
| views_update_11201 | Removes the ui.show.advanced_column setting. | |
| views_update_last_removed | Implements hook_update_last_removed(). |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.