ActionListBuilder::buildRow

public ActionListBuilder::buildRow(EntityInterface $entity) Builds a row for an entity in the entity listing. Parameters \Drupal\Core\Entity\EntityInterface $entity: The entity for this row of the list. Return value array A render array structure of fields for this entity. Overrides EntityListBuilder::buildRow See also \Drupal\Core\Entity\EntityListBuilder::render() File core/modules/action/src/ActionListBuilder.php, line 76 Class ActionListBuilder Defines a class to build a listing of

ActionListBuilder::getDefaultOperations

public ActionListBuilder::getDefaultOperations(EntityInterface $entity) Gets this list's default operations. Parameters \Drupal\Core\Entity\EntityInterface $entity: The entity the operations are for. Return value array The array structure is identical to the return value of self::getOperations(). Overrides ConfigEntityListBuilder::getDefaultOperations File core/modules/action/src/ActionListBuilder.php, line 99 Class ActionListBuilder Defines a class to build a listing of action entities.

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

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;

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

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

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; }

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

ActionFormBase::save

public ActionFormBase::save(array $form, FormStateInterface $form_state) Form submission handler for the 'save' action. Normally this method should be overridden to provide specific messages to the user and redirect the form after the entity has been saved. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Return value int Either SAVED_NEW or SAVED_UPDATED, depending on the operat