function EntityDeleteForm::getConfigManager

Same name in other branches
  1. 9 core/lib/Drupal/Core/Entity/EntityDeleteForm.php \Drupal\Core\Entity\EntityDeleteForm::getConfigManager()
  2. 8.9.x core/lib/Drupal/Core/Entity/EntityDeleteForm.php \Drupal\Core\Entity\EntityDeleteForm::getConfigManager()
  3. 11.x core/lib/Drupal/Core/Entity/EntityDeleteForm.php \Drupal\Core\Entity\EntityDeleteForm::getConfigManager()

Gets the configuration manager.

Return value

\Drupal\Core\Config\ConfigManager The configuration manager.

1 call to EntityDeleteForm::getConfigManager()
EntityDeleteForm::buildForm in core/lib/Drupal/Core/Entity/EntityDeleteForm.php
Form constructor.

File

core/lib/Drupal/Core/Entity/EntityDeleteForm.php, line 43

Class

EntityDeleteForm
Provides a generic base class for an entity deletion form.

Namespace

Drupal\Core\Entity

Code

protected function getConfigManager() {
    return \Drupal::service('config.manager');
}

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