Action::execute

public Action::execute(array $entities) File core/modules/system/src/Entity/Action.php, line 121 Class Action Defines the configured action entity. Namespace Drupal\system\Entity Code public function execute(array $entities) { return $this->getPlugin()->executeMultiple($entities); }

Action::$type

The action type. Type: string File core/modules/system/src/Entity/Action.php, line 53 Class Action Defines the configured action entity. Namespace Drupal\system\Entity Code protected $type;

Action::$type

The entity type the action can apply to. @todo Replace with \Drupal\Core\Plugin\Context\Context. Type: string File core/lib/Drupal/Core/Annotation/Action.php, line 55 Class Action Defines an Action annotation object. Namespace Drupal\Core\Annotation Code public $type = '';

Action::$label

The label of the action. Type: string File core/modules/system/src/Entity/Action.php, line 46 Class Action Defines the configured action entity. Namespace Drupal\system\Entity Code protected $label;

Action::$label

The human-readable name of the action plugin. Type: \Drupal\Core\Annotation\Translation Related topics Annotation for translatable text Describes how to put translatable UI text into annotations. File core/lib/Drupal/Core/Annotation/Action.php, line 37 Class Action Defines an Action annotation object. Namespace Drupal\Core\Annotation Code public $label;

Action::$id

The name (plugin ID) of the action. Type: string File core/modules/system/src/Entity/Action.php, line 39 Class Action Defines the configured action entity. Namespace Drupal\system\Entity Code protected $id;

Action::$id

The plugin ID. Type: string File core/lib/Drupal/Core/Annotation/Action.php, line 28 Class Action Defines an Action annotation object. Namespace Drupal\Core\Annotation Code public $id;

Action::$confirm_form_route_name

The route name for a confirmation form for this action. @todo Provide a more generic way to allow an action to be confirmed first. Type: string (optional) File core/lib/Drupal/Core/Annotation/Action.php, line 46 Class Action Defines an Action annotation object. Namespace Drupal\Core\Annotation Code public $confirm_form_route_name = '';

Action::$configuration

The configuration of the action. Type: array File core/modules/system/src/Entity/Action.php, line 60 Class Action Defines the configured action entity. Namespace Drupal\system\Entity Code protected $configuration = array();

Action::$category

The category under which the action should be listed in the UI. Type: \Drupal\Core\Annotation\Translation Related topics Annotation for translatable text Describes how to put translatable UI text into annotations. File core/lib/Drupal/Core/Annotation/Action.php, line 64 Class Action Defines an Action annotation object. Namespace Drupal\Core\Annotation Code public $category;