EntityForm::$operation
Same name in other branches
- 9 core/lib/Drupal/Core/Entity/EntityForm.php \Drupal\Core\Entity\EntityForm::operation
- 8.9.x core/lib/Drupal/Core/Entity/EntityForm.php \Drupal\Core\Entity\EntityForm::operation
- 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\EntityCode
protected $operation;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.