function BlockPluginInterface::label

Same name in other branches
  1. 9 core/lib/Drupal/Core/Block/BlockPluginInterface.php \Drupal\Core\Block\BlockPluginInterface::label()
  2. 10 core/lib/Drupal/Core/Block/BlockPluginInterface.php \Drupal\Core\Block\BlockPluginInterface::label()
  3. 11.x core/lib/Drupal/Core/Block/BlockPluginInterface.php \Drupal\Core\Block\BlockPluginInterface::label()

Returns the user-facing block label.

@todo Provide other specific label-related methods in https://www.drupal.org/node/2025649.

Return value

string The block label.

File

core/lib/Drupal/Core/Block/BlockPluginInterface.php, line 41

Class

BlockPluginInterface
Defines the required interface for all block plugins.

Namespace

Drupal\Core\Block

Code

public function label();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.