public function EntityFormController::__construct

Constructs an EntityFormController object.

Parameters

string|null $operation: (optional) The name of the current operation, defaults to NULL.

5 calls to EntityFormController::__construct()
ActionFormControllerBase::__construct in drupal/core/modules/action/lib/Drupal/action/ActionFormControllerBase.php
Constructs a new action form.
MenuLinkFormController::__construct in drupal/core/modules/menu_link/lib/Drupal/menu_link/MenuLinkFormController.php
Constructs a new MenuLinkFormController object.
ViewAddFormController::__construct in drupal/core/modules/views_ui/lib/Drupal/views_ui/ViewAddFormController.php
Constructs a new ViewEditFormController object.
ViewEditFormController::__construct in drupal/core/modules/views_ui/lib/Drupal/views_ui/ViewEditFormController.php
Constructs a new ViewEditFormController object.
ViewPreviewFormController::__construct in drupal/core/modules/views_ui/lib/Drupal/views_ui/ViewPreviewFormController.php
Constructs a new ViewPreviewFormController object.
5 methods override EntityFormController::__construct()
ActionFormControllerBase::__construct in drupal/core/modules/action/lib/Drupal/action/ActionFormControllerBase.php
Constructs a new action form.
MenuLinkFormController::__construct in drupal/core/modules/menu_link/lib/Drupal/menu_link/MenuLinkFormController.php
Constructs a new MenuLinkFormController object.
ViewAddFormController::__construct in drupal/core/modules/views_ui/lib/Drupal/views_ui/ViewAddFormController.php
Constructs a new ViewEditFormController object.
ViewEditFormController::__construct in drupal/core/modules/views_ui/lib/Drupal/views_ui/ViewEditFormController.php
Constructs a new ViewEditFormController object.
ViewPreviewFormController::__construct in drupal/core/modules/views_ui/lib/Drupal/views_ui/ViewPreviewFormController.php
Constructs a new ViewPreviewFormController object.

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);
}