public function ActionFormControllerBase::__construct

Constructs a new action form.

Parameters

\Drupal\Core\Entity\EntityStorageControllerInterface $storage_controller: The action storage controller.

Overrides EntityFormController::__construct

1 call to ActionFormControllerBase::__construct()
ActionAddFormController::__construct in drupal/core/modules/action/lib/Drupal/action/ActionAddFormController.php
Constructs a new ActionAddFormController.
1 method overrides ActionFormControllerBase::__construct()
ActionAddFormController::__construct in drupal/core/modules/action/lib/Drupal/action/ActionAddFormController.php
Constructs a new ActionAddFormController.

File

drupal/core/modules/action/lib/Drupal/action/ActionFormControllerBase.php, line 41
Contains Drupal\action\ActionEditFormController.

Class

ActionFormControllerBase
Provides a base form controller for action forms.

Namespace

Drupal\action

Code

public function __construct(EntityStorageControllerInterface $storage_controller) {
  parent::__construct();
  $this->storageController = $storage_controller;
}