public function EntityForm::getOperation

public EntityForm::getOperation()

Gets the operation identifying the form.

Return value

string The name of the operation.

Overrides EntityFormInterface::getOperation

File

core/lib/Drupal/Core/Entity/EntityForm.php, line 403

Class

EntityForm
Base class for entity forms.

Namespace

Drupal\Core\Entity

Code

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

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!EntityForm.php/function/EntityForm::getOperation/8.1.x