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

Breadcrumb

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

function LocalTaskInterface::getTitle

Returns the localized title to be shown for this tab.

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

Return value

string The title of the local task.

1 method overrides LocalTaskInterface::getTitle()
LocalTaskDefault::getTitle in core/lib/Drupal/Core/Menu/LocalTaskDefault.php
Returns the localized title to be shown for this tab.

File

core/lib/Drupal/Core/Menu/LocalTaskInterface.php, line 35

Class

LocalTaskInterface
Defines an interface for menu local tasks.

Namespace

Drupal\Core\Menu

Code

public function getTitle();

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal