function MediaConfigUpdater::setDeprecationsEnabled
Same name in other branches
- 11.x core/modules/media/src/MediaConfigUpdater.php \Drupal\media\MediaConfigUpdater::setDeprecationsEnabled()
Sets the deprecations enabling status.
Parameters
bool $enabled: Whether deprecations should be enabled.
File
-
core/
modules/ media/ src/ MediaConfigUpdater.php, line 37
Class
- MediaConfigUpdater
- Provides a BC layer for modules providing old configurations.
Namespace
Drupal\mediaCode
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.