You are here

public function LinkController::getAddFormTitle in Colossal Menu 8

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

Provides the page title for this controller.

Parameters

\Drupal\Core\Entity\EntityInterface $colossal_menu_link_type: The custom bundle/type being added.

Return value

string The page title.

1 string reference to 'LinkController::getAddFormTitle'
colossal_menu.routing.yml in ./colossal_menu.routing.yml
colossal_menu.routing.yml

File

src/Controller/LinkController.php, line 170

Class

LinkController
Class LinkAddController.

Namespace

Drupal\colossal_menu\Controller

Code

public function getAddFormTitle(EntityInterface $colossal_menu_link_type) {
  return $this
    ->t('Create of bundle @label', [
    '@label' => $colossal_menu_link_type
      ->label(),
  ]);
}