ActionListBuilder::buildHeader

public ActionListBuilder::buildHeader() Builds the header row for the entity listing. Return value array A render array structure of header strings. Overrides EntityListBuilder::buildHeader See also \Drupal\Core\Entity\EntityListBuilder::render() File core/modules/action/src/ActionListBuilder.php, line 88 Class ActionListBuilder Defines a class to build a listing of action entities. Namespace Drupal\action Code public function buildHeader() { $header = array( 'type' => t('Ac

ActionListBuilder::$hasConfigurableActions

Type: bool File core/modules/action/src/ActionListBuilder.php, line 23 Class ActionListBuilder Defines a class to build a listing of action entities. Namespace Drupal\action Code protected $hasConfigurableActions = FALSE;

ActionListBuilder::$actionManager

The action plugin manager. Type: \Drupal\Core\Action\ActionManager File core/modules/action/src/ActionListBuilder.php, line 30 Class ActionListBuilder Defines a class to build a listing of action entities. Namespace Drupal\action Code protected $actionManager;

ActionListBuilder

Defines a class to build a listing of action entities. Hierarchy class \Drupal\Core\Entity\EntityHandlerBase uses DependencySerializationTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityListBuilder implements EntityHandlerInterface, EntityListBuilderInterfaceclass \Drupal\Core\Config\Entity\ConfigEntityListBuilderclass \Drupal\action\ActionListBuilder See also \Drupal\system\Entity\Action action_entity_info() File core/modules/action/src/ActionListBuilder.php, line 18 Name

ActionInterface::executeMultiple

public ActionInterface::executeMultiple(array $objects) Executes the plugin for an array of objects. Parameters array $objects: An array of entities. File core/lib/Drupal/Core/Action/ActionInterface.php, line 39 Class ActionInterface Provides an interface for an Action plugin. Namespace Drupal\Core\Action Code public function executeMultiple(array $objects);

ActionInterface::access

public ActionInterface::access($object, AccountInterface $account = NULL, $return_as_object = FALSE) Checks object access. Parameters mixed $object: The object to execute the action on. \Drupal\Core\Session\AccountInterface $account: (optional) The user for which to check access, or NULL to check access for the current user. Defaults to NULL. bool $return_as_object: (optional) Defaults to FALSE. Return value bool|\Drupal\Core\Access\AccessResultInterface The access result. Returns a boolean i

ActionInterface

Provides an interface for an Action plugin. @todo WARNING: The action API is going to receive some additions before release. The following additions are likely to happen: The way configuration is handled and configuration forms are built is likely to change in order for the plugin to be of use for Rules. Actions are going to become context-aware in https://www.drupal.org/node/2011038, what will deprecated the 'type' annotation. Instead of action implementations saving entities, support for mark

ActionFormBase::__construct

public ActionFormBase::__construct(EntityStorageInterface $storage) Constructs a new action form. Parameters \Drupal\Core\Entity\EntityStorageInterface $storage: The action storage. File core/modules/action/src/ActionFormBase.php, line 36 Class ActionFormBase Provides a base form for action forms. Namespace Drupal\action Code public function __construct(EntityStorageInterface $storage) { $this->storage = $storage; }

ActionFormBase::validateForm

public ActionFormBase::validateForm(array &$form, FormStateInterface $form_state) Form validation handler. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Overrides FormBase::validateForm File core/modules/action/src/ActionFormBase.php, line 121 Class ActionFormBase Provides a base form for action forms. Namespace Drupal\action Code public function validateForm(array

ActionFormBase::submitForm

public ActionFormBase::submitForm(array &$form, FormStateInterface $form_state) This is the default entity object builder function. It is called before any other submit handler to build the new entity object to be used by the following submit handlers. At this point of the form workflow the entity is validated and the form state can be updated, this way the subsequently invoked handlers can retrieve a regular entity object to act on. Generally this method should not be overridden unless th