function BlockConfigUpdater::setDeprecationsEnabled

Same name and namespace in other branches
  1. 11.x core/modules/block/src/BlockConfigUpdater.php \Drupal\block\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\block

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.