Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Core/Annotation/Action.php \Drupal\Core\Annotation\Action::type
  2. 9 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 = '';