Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ContextualLinkInterface.php

function ContextualLinkInterface::getTitle

Returns the localized title to be shown for this contextual link.

Subclasses may add optional arguments like NodeInterface $node = NULL that will be supplied by the ControllerResolver.

Return value

string The title to be shown for this action.

See also

\Drupal\Core\Menu\ContextualLinksManager::getTitle()

1 method overrides ContextualLinkInterface::getTitle()
ContextualLinkDefault::getTitle in core/lib/Drupal/Core/Menu/ContextualLinkDefault.php
Returns the localized title to be shown for this contextual link.

File

core/lib/Drupal/Core/Menu/ContextualLinkInterface.php, line 29

Class

ContextualLinkInterface
Defines a contextual link plugin.

Namespace

Drupal\Core\Menu

Code

public function getTitle();
RSS feed
Powered by Drupal