function views_view_presave
Same name in other branches
- 9 core/modules/views/views.module \views_view_presave()
- 10 core/modules/views/views.module \views_view_presave()
- 11.x core/modules/views/views.module \views_view_presave()
Implements hook_ENTITY_TYPE_presave().
File
-
core/
modules/ views/ views.module, line 850
Code
function views_view_presave(ViewEntityInterface $view) {
/** @var \Drupal\views\ViewsConfigUpdater $config_updater */
$config_updater = \Drupal::classResolver(ViewsConfigUpdater::class);
$config_updater->updateAll($view);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.