function MediaConfigUpdater::setDeprecationsEnabled

Same name in other branches
  1. 10 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\media

Code

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.