public function BlockPageVariant::setTitle in Drupal 10
Same name and namespace in other branches
- 8 core/modules/block/src/Plugin/DisplayVariant/BlockPageVariant.php \Drupal\block\Plugin\DisplayVariant\BlockPageVariant::setTitle()
- 9 core/modules/block/src/Plugin/DisplayVariant/BlockPageVariant.php \Drupal\block\Plugin\DisplayVariant\BlockPageVariant::setTitle()
File
- core/
modules/ block/ src/ Plugin/ DisplayVariant/ BlockPageVariant.php, line 117
Class
- BlockPageVariant
- Provides a page display variant that decorates the main content with blocks.
Namespace
Drupal\block\Plugin\DisplayVariantCode
public function setTitle($title) {
$this->title = $title;
return $this;
}