function EntityForm::getOperation
Gets the operation identifying the form.
Return value
string The name of the operation.
Overrides EntityFormInterface::getOperation
2 calls to EntityForm::getOperation()
- ContentEntityForm::init in core/lib/ Drupal/ Core/ Entity/ ContentEntityForm.php 
- Initializes the form state and the entity before the first form build.
- OverridesEntityForm::init in core/modules/ layout_builder/ src/ Form/ OverridesEntityForm.php 
- Initializes the form state and the entity before the first form build.
File
- 
              core/lib/ Drupal/ Core/ Entity/ EntityForm.php, line 410 
Class
- EntityForm
- Base class for entity forms.
Namespace
Drupal\Core\EntityCode
public function getOperation() {
  return $this->operation;
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
