Action::$type

Same name in this branch
  1. 9 core/modules/system/src/Entity/Action.php \Drupal\system\Entity\Action::type
Same name in other branches
  1. 8.9.x core/modules/system/src/Entity/Action.php \Drupal\system\Entity\Action::type
  2. 8.9.x core/lib/Drupal/Core/Annotation/Action.php \Drupal\Core\Annotation\Action::type
  3. 10 core/modules/system/src/Entity/Action.php \Drupal\system\Entity\Action::type
  4. 10 core/lib/Drupal/Core/Annotation/Action.php \Drupal\Core\Annotation\Action::type
  5. 11.x core/modules/system/src/Entity/Action.php \Drupal\system\Entity\Action::type
  6. 11.x core/lib/Drupal/Core/Annotation/Action.php \Drupal\Core\Annotation\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 56

Class

Action
Defines an Action annotation object.

Namespace

Drupal\Core\Annotation

Code

public $type = '';

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.