You are here

public function EntityFormInterface::setOperation in Zircon Profile 8

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

Sets the operation for this form.

Parameters

string $operation: The name of the current operation.

Return value

$this

1 method overrides EntityFormInterface::setOperation()
EntityForm::setOperation in core/lib/Drupal/Core/Entity/EntityForm.php
Sets the operation for this form.

File

core/lib/Drupal/Core/Entity/EntityFormInterface.php, line 29
Contains \Drupal\Core\Entity\EntityFormInterface.

Class

EntityFormInterface
Defines an interface for entity form classes.

Namespace

Drupal\Core\Entity

Code

public function setOperation($operation);