function EntityFormInterface::getOperation

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

Gets the operation identifying the form.

Return value

string The name of the operation.

3 methods override EntityFormInterface::getOperation()
EntityForm::getOperation in core/lib/Drupal/Core/Entity/EntityForm.php
Gets the operation identifying the form.
RevisionDeleteForm::getOperation in core/lib/Drupal/Core/Entity/Form/RevisionDeleteForm.php
Gets the operation identifying the form.
RevisionRevertForm::getOperation in core/lib/Drupal/Core/Entity/Form/RevisionRevertForm.php
Gets the operation identifying the form.

File

core/lib/Drupal/Core/Entity/EntityFormInterface.php, line 32

Class

EntityFormInterface
Defines an interface for entity form classes.

Namespace

Drupal\Core\Entity

Code

public function getOperation();

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