Constructs an EntityFormController object.
Parameters
string|null $operation:
(optional) The name of the current operation, defaults to NULL.
File
- drupal/core/lib/Drupal/Core/Entity/EntityFormController.php, line 42
- Contains \Drupal\Core\Entity\EntityFormController.
Class
- EntityFormController
- Base class for entity form controllers.
Namespace
Drupal\Core\Entity
Code
public function __construct($operation = NULL) {
$this
->setOperation($operation);
}