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

Breadcrumb

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

function TopBarItemPluginInterface::label

Returns the translated plugin label.

Return value

string|\Stringable The translated plugin label.

1 method overrides TopBarItemPluginInterface::label()
TopBarItemBase::label in core/modules/navigation/src/TopBarItemBase.php
Returns the translated plugin label.

File

core/modules/navigation/src/TopBarItemPluginInterface.php, line 18

Class

TopBarItemPluginInterface
Interface for top bar plugins.

Namespace

Drupal\navigation

Code

public function label() : string|\Stringable;

API Navigation

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