EntityForm::$operation

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

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.