ActionAdminManageForm::create

public static ActionAdminManageForm::create(ContainerInterface $container) Instantiates a new instance of this class. This is a factory method that returns a new instance of this class. The factory should pass any needed dependencies into the constructor of this class, but not the container itself. Every call to this method must return a new instance of this class; that is, it may not implement a singleton. Parameters \Symfony\Component\DependencyInjection\ContainerInterface $container: The se

ActionAdminManageForm::buildForm

public ActionAdminManageForm::buildForm(array $form, FormStateInterface $form_state) Form constructor. 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 array The form structure. Overrides FormInterface::buildForm File core/modules/action/src/Form/ActionAdminManageForm.php, line 52 Class ActionAdminManageForm Provides a configuration form for configurable actions

ActionAddForm::create

public static ActionAddForm::create(ContainerInterface $container) Instantiates a new instance of this class. This is a factory method that returns a new instance of this class. The factory should pass any needed dependencies into the constructor of this class, but not the container itself. Every call to this method must return a new instance of this class; that is, it may not implement a singleton. Parameters \Symfony\Component\DependencyInjection\ContainerInterface $container: The service co

ActionAddForm::$actionManager

The action manager. Type: \Drupal\Core\Action\ActionManager File core/modules/action/src/ActionAddForm.php, line 21 Class ActionAddForm Provides a form for action add forms. Namespace Drupal\action Code protected $actionManager;

ActionAddForm::buildForm

public ActionAddForm::buildForm(array $form, FormStateInterface $form_state, $action_id = NULL) Parameters string $action_id: The hashed version of the action ID. Overrides ActionFormBase::buildForm File core/modules/action/src/ActionAddForm.php, line 53 Class ActionAddForm Provides a form for action add forms. Namespace Drupal\action Code public function buildForm(array $form, FormStateInterface $form_state, $action_id = NULL) { // In \Drupal\action\Form\ActionAdminManageForm::buil

ActionAddForm

Provides a form for action add forms. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityForm implements EntityFormInterfaceclass \Drupal\action\ActionFormBaseclass \Drupal\action\ActionAddForm File core/modules/action/src/ActionAddForm.php, line 14 Namespace Drupal\ac

ActionAddForm::__construct

public ActionAddForm::__construct(EntityStorageInterface $storage, ActionManager $action_manager) Constructs a new ActionAddForm. Parameters \Drupal\Core\Entity\EntityStorageInterface $storage: The action storage. \Drupal\Core\Action\ActionManager $action_manager: The action plugin manager. Overrides ActionFormBase::__construct File core/modules/action/src/ActionAddForm.php, line 31 Class ActionAddForm Provides a form for action add forms. Namespace Drupal\action Code public function

Action::sort

public static Action::sort(ConfigEntityInterface $a, ConfigEntityInterface $b) Helper callback for uasort() to sort configuration entities by weight and label. Overrides ConfigEntityBase::sort File core/modules/system/src/Entity/Action.php, line 142 Class Action Defines the configured action entity. Namespace Drupal\system\Entity Code public static function sort(ConfigEntityInterface $a, ConfigEntityInterface $b) { /** @var \Drupal\system\ActionConfigEntityInterface $a */ /** @var

Action::getType

public Action::getType() Returns the operation type. Return value string Overrides ActionConfigEntityInterface::getType File core/modules/system/src/Entity/Action.php, line 135 Class Action Defines the configured action entity. Namespace Drupal\system\Entity Code public function getType() { return $this->type; }

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;