interface ExecutableInterface

Same name and namespace in other branches
  1. 11.x core/lib/Drupal/Core/Executable/ExecutableInterface.php \Drupal\Core\Executable\ExecutableInterface
  2. 10 core/lib/Drupal/Core/Executable/ExecutableInterface.php \Drupal\Core\Executable\ExecutableInterface
  3. 9 core/lib/Drupal/Core/Executable/ExecutableInterface.php \Drupal\Core\Executable\ExecutableInterface
  4. 8.9.x core/lib/Drupal/Core/Executable/ExecutableInterface.php \Drupal\Core\Executable\ExecutableInterface

An interface for executable plugins.

Hierarchy

Expanded class hierarchy of ExecutableInterface

All classes that implement ExecutableInterface

Related topics

3 files declare their use of ExecutableInterface
ActionInterface.php in core/lib/Drupal/Core/Action/ActionInterface.php
ConditionInterface.php in core/lib/Drupal/Core/Condition/ConditionInterface.php
ConditionManager.php in core/lib/Drupal/Core/Condition/ConditionManager.php

File

core/lib/Drupal/Core/Executable/ExecutableInterface.php, line 10

Namespace

Drupal\Core\Executable
View source
interface ExecutableInterface {
  
  /**
   * Executes the plugin.
   *
   * phpcs:ignore Drupal.Commenting.FunctionComment.ParamNameNoMatch
   * @param object|null $object
   *   (optional) An object to execute the plugin on/with.
   *
   * @see https://www.drupal.org/project/drupal/issues/3354672
   *
   * @todo Uncomment the new $object method parameter before drupal:12.0.0.
   */
  public function execute();

}

Members

Title Sort descending Modifiers Object type Summary Overrides
ExecutableInterface::execute public function Executes the plugin. 18

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