You are here

public function BlockPluginInterface::label in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 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.

1 method overrides BlockPluginInterface::label()
BlockBase::label in core/lib/Drupal/Core/Block/BlockBase.php
Returns the user-facing block label.

File

core/lib/Drupal/Core/Block/BlockPluginInterface.php, line 39
Contains \Drupal\Core\Block\BlockPluginInterface.

Class

BlockPluginInterface
Defines the required interface for all block plugins.

Namespace

Drupal\Core\Block

Code

public function label();