public function TitleBlockPluginInterface::setTitle in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Block/TitleBlockPluginInterface.php \Drupal\Core\Block\TitleBlockPluginInterface::setTitle()
Sets the title.
Parameters
string|array $title: The page title: either a string for plain titles or a render array for formatted titles.
1 method overrides TitleBlockPluginInterface::setTitle()
- PageTitleBlock::setTitle in core/
lib/ Drupal/ Core/ Block/ Plugin/ Block/ PageTitleBlock.php - Sets the title.
File
- core/
lib/ Drupal/ Core/ Block/ TitleBlockPluginInterface.php, line 28 - Contains \Drupal\Core\Block\TitleBlockPluginInterface.
Class
- TitleBlockPluginInterface
- The interface for "title" blocks.
Namespace
Drupal\Core\BlockCode
public function setTitle($title);