Provides an interface for an Action plugin.
Expanded class hierarchy of ConfigurableActionInterface
All classes that implement ConfigurableActionInterface
\Drupal\Core\Annotation\Operation
\Drupal\Core\Action\OperationManager
interface ConfigurableActionInterface extends ActionInterface {
/**
* Returns this plugin's configuration.
*
* @return array
* An array of this action plugin's configuration.
*/
public function getConfiguration();
/**
* Form constructor.
*
* @param array $form
* An associative array containing the structure of the form.
* @param array $form_state
* An associative array containing the current state of the form.
*
* @return array
* The form structure.
*/
public function form(array $form, array &$form_state);
/**
* Form validation handler.
*
* @param array $form
* An associative array containing the structure of the form.
* @param array $form_state
* An associative array containing the current state of the form.
*/
public function validate(array &$form, array &$form_state);
/**
* Form submission handler.
*
* @param array $form
* An associative array containing the structure of the form.
* @param array $form_state
* An associative array containing the current state of the form.
*/
public function submit(array &$form, array &$form_state);
}
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ActionInterface:: |
public | function | Executes the plugin for an array of objects. | 1 |
ConfigurableActionInterface:: |
public | function | Form constructor. | 7 |
ConfigurableActionInterface:: |
public | function | Returns this plugin's configuration. | 1 |
ConfigurableActionInterface:: |
public | function | Form submission handler. | 7 |
ConfigurableActionInterface:: |
public | function | Form validation handler. | 1 |
ExecutableInterface:: |
public | function | Executes the plugin. | 25 |