ExecutableInterface.php

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

Namespace

Drupal\Core\Executable

File

core/lib/Drupal/Core/Executable/ExecutableInterface.php

View source
<?php

namespace Drupal\Core\Executable;


/**
 * An interface for executable plugins.
 *
 * @ingroup plugin_api
 */
interface ExecutableInterface {
  
  /**
   * Executes the plugin.
   *
   * @param object|null $object
   *   (optional) An object to execute the plugin on/with.
   */
  public function execute(?object $object = NULL);

}

Interfaces

Title Deprecated Summary
ExecutableInterface An interface for executable plugins.

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