You are here

protected property EntityForm::$operation in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Entity/EntityForm.php \Drupal\Core\Entity\EntityForm::operation
  2. 10 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;