function EntityForm::getOperation

Same name in other branches
  1. 9 core/lib/Drupal/Core/Entity/EntityForm.php \Drupal\Core\Entity\EntityForm::getOperation()
  2. 10 core/lib/Drupal/Core/Entity/EntityForm.php \Drupal\Core\Entity\EntityForm::getOperation()
  3. 11.x core/lib/Drupal/Core/Entity/EntityForm.php \Drupal\Core\Entity\EntityForm::getOperation()

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 448

Class

EntityForm
Base class for entity forms.

Namespace

Drupal\Core\Entity

Code

public function getOperation() {
    return $this->operation;
}

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