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.
   *
   * @param object|null $object
   *   (optional) An object to execute the plugin on/with.
   */
  public function execute(?object $object = NULL);

}

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.