ContextualLinkInterface::getTitle

public 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()

File

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

Class

ContextualLinkInterface
Defines a contextual link plugin.

Namespace

Drupal\Core\Menu

Code

1
public function getTitle();
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.