function ViewsConfigUpdater::setDeprecationsEnabled
Same name in other branches
- 9 core/modules/views/src/ViewsConfigUpdater.php \Drupal\views\ViewsConfigUpdater::setDeprecationsEnabled()
- 11.x core/modules/views/src/ViewsConfigUpdater.php \Drupal\views\ViewsConfigUpdater::setDeprecationsEnabled()
Sets the deprecations enabling status.
Parameters
bool $enabled: Whether deprecations should be enabled.
File
-
core/
modules/ views/ src/ ViewsConfigUpdater.php, line 125
Class
- ViewsConfigUpdater
- Provides a BC layer for modules providing old configurations.
Namespace
Drupal\viewsCode
public function setDeprecationsEnabled($enabled) {
$this->deprecationsEnabled = $enabled;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.