public function MenuLinkFormController::__construct

Constructs a new MenuLinkFormController object.

Parameters

string $operation: The name of the current operation.

\Drupal\Core\Path\AliasManagerInterface $path_alias_manager: The path alias manager.

Overrides EntityFormController::__construct

File

drupal/core/modules/menu_link/lib/Drupal/menu_link/MenuLinkFormController.php, line 36
Contains \Drupal\menu_link\MenuLinkFormController.

Class

MenuLinkFormController
Form controller for the node edit forms.

Namespace

Drupal\menu_link

Code

public function __construct($operation, AliasManagerInterface $path_alias_manager) {
  parent::__construct($operation);
  $this->pathAliasManager = $path_alias_manager;
}