public function BlockPluginInterface::label in Drupal 8
Same name and namespace in other branches
- 9 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\BlockCode
public function label();