Contains \Drupal\Core\Action\ActionInterface.
<?php
/**
* @file
* Contains \Drupal\Core\Action\ActionInterface.
*/
namespace Drupal\Core\Action;
use Drupal\Core\Executable\ExecutableInterface;
/**
* Provides an interface for an Action plugin.
*
* @see \Drupal\Core\Annotation\Action
* @see \Drupal\Core\Action\ActionManager
*/
interface ActionInterface extends ExecutableInterface {
/**
* Executes the plugin for an array of objects.
*
* @param array $objects
* An array of entities.
*/
public function executeMultiple(array $objects);
}
Name | Description |
---|---|
ActionInterface | Provides an interface for an Action plugin. |