function ViewsConfigUpdater::setDeprecationsEnabled

Same name in other branches
  1. 9 core/modules/views/src/ViewsConfigUpdater.php \Drupal\views\ViewsConfigUpdater::setDeprecationsEnabled()
  2. 10 core/modules/views/src/ViewsConfigUpdater.php \Drupal\views\ViewsConfigUpdater::setDeprecationsEnabled()

Sets the deprecations enabling status.

Parameters

bool $enabled: Whether deprecations should be enabled.

File

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

Class

ViewsConfigUpdater
Provides a BC layer for modules providing old configurations.

Namespace

Drupal\views

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.