public function LinkController::getAddFormTitle in Colossal Menu 8
Same name and namespace in other branches
- 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'
File
- src/
Controller/ LinkController.php, line 170
Class
- LinkController
- Class LinkAddController.
Namespace
Drupal\colossal_menu\ControllerCode
public function getAddFormTitle(EntityInterface $colossal_menu_link_type) {
return $this
->t('Create of bundle @label', [
'@label' => $colossal_menu_link_type
->label(),
]);
}