You are here

public function ViewsConfigUpdater::setDeprecationsEnabled in Drupal 9

Sets the deprecations enabling status.

Parameters

bool $enabled: Whether deprecations should be enabled.

File

core/modules/views/src/ViewsConfigUpdater.php, line 116

Class

ViewsConfigUpdater
Provides a BC layer for modules providing old configurations.

Namespace

Drupal\views

Code

public function setDeprecationsEnabled($enabled) {
  $this->deprecationsEnabled = $enabled;
}