You are here

public function LinkController::getEditFormTitle in Colossal Menu 8

Same name and namespace in other branches
  1. 2.x src/Controller/LinkController.php \Drupal\colossal_menu\Controller\LinkController::getEditFormTitle()

Provides the page title for this controller.

Parameters

\Drupal\colossal_menu\LinkInterface $colossal_menu_link: Link type being edited.

Return value

string The page title.

File

src/Controller/LinkController.php, line 201

Class

LinkController
Class LinkAddController.

Namespace

Drupal\colossal_menu\Controller

Code

public function getEditFormTitle(LinkInterface $colossal_menu_link) {
  return $this
    ->t('Edit @label', [
    '@label' => $colossal_menu_link
      ->label(),
  ]);
}