function BlockConfigUpdater::setDeprecationsEnabled
Sets the deprecations enabling status.
Parameters
bool $enabled: Whether deprecations should be enabled.
File
-
core/
modules/ block/ src/ BlockConfigUpdater.php, line 34
Class
- BlockConfigUpdater
- Provides a BC layer for modules providing old configurations.
Namespace
Drupal\blockCode
public function setDeprecationsEnabled(bool $enabled) : void {
$this->deprecationsEnabled = $enabled;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.