function ViewsConfigUpdater::setDeprecationsEnabled
Same name in other branches
- 9 core/modules/views/src/ViewsConfigUpdater.php \Drupal\views\ViewsConfigUpdater::setDeprecationsEnabled()
- 10 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 115
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.