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