EntityForm::$operation

Same name 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
  3. 11.x 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;

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