Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Core/Condition/ConditionPluginBase.php \Drupal\Core\Condition\ConditionPluginBase::setExecutableManager()
  2. 9 core/lib/Drupal/Core/Condition/ConditionPluginBase.php \Drupal\Core\Condition\ConditionPluginBase::setExecutableManager()

Sets the executable manager class.

Parameters

\Drupal\Core\Executable\ExecutableManagerInterface $executableManager: The executable manager.

Overrides ConditionInterface::setExecutableManager

File

core/lib/Drupal/Core/Condition/ConditionPluginBase.php, line 124

Class

ConditionPluginBase
Provides a basis for fulfilling contexts for condition plugins.

Namespace

Drupal\Core\Condition

Code

public function setExecutableManager(ExecutableManagerInterface $executableManager) {
  $this->executableManager = $executableManager;
  return $this;
}