You are here

public function EntityForm::getOperation in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Entity/EntityForm.php \Drupal\Core\Entity\EntityForm::getOperation()

Gets the operation identifying the form.

Return value

string The name of the operation.

Overrides EntityFormInterface::getOperation

2 calls to EntityForm::getOperation()
AccountForm::form in core/modules/user/src/AccountForm.php
Gets the actual form array to be built.
ContentEntityForm::init in core/lib/Drupal/Core/Entity/ContentEntityForm.php
Initializes the form state and the entity before the first form build.

File

core/lib/Drupal/Core/Entity/EntityForm.php, line 396
Contains \Drupal\Core\Entity\EntityForm.

Class

EntityForm
Base class for entity forms.

Namespace

Drupal\Core\Entity

Code

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