You are here

protected property EntityForm::$operation in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Entity/EntityForm.php \Drupal\Core\Entity\EntityForm::operation
  2. 9 core/lib/Drupal/Core/Entity/EntityForm.php \Drupal\Core\Entity\EntityForm::operation

The name of the current operation.

Subclasses may use this to implement different behaviors depending on its value.

Type: string

File

core/lib/Drupal/Core/Entity/EntityForm.php, line 26

Class

EntityForm
Base class for entity forms.

Namespace

Drupal\Core\Entity

Code

protected $operation;