function PageTitleBlock::setTitle
Same name in other branches
- 9 core/lib/Drupal/Core/Block/Plugin/Block/PageTitleBlock.php \Drupal\Core\Block\Plugin\Block\PageTitleBlock::setTitle()
- 8.9.x core/lib/Drupal/Core/Block/Plugin/Block/PageTitleBlock.php \Drupal\Core\Block\Plugin\Block\PageTitleBlock::setTitle()
- 10 core/lib/Drupal/Core/Block/Plugin/Block/PageTitleBlock.php \Drupal\Core\Block\Plugin\Block\PageTitleBlock::setTitle()
Overrides TitleBlockPluginInterface::setTitle
File
-
core/
lib/ Drupal/ Core/ Block/ Plugin/ Block/ PageTitleBlock.php, line 32
Class
- PageTitleBlock
- Provides a block to display the page title.
Namespace
Drupal\Core\Block\Plugin\BlockCode
public function setTitle($title) {
$this->title = $title;
return $this;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.