Mercurial > hg > isophonics-drupal-site
comparison core/lib/Drupal/Core/Block/TitleBlockPluginInterface.php @ 0:4c8ae668cc8c
Initial import (non-working)
author | Chris Cannam |
---|---|
date | Wed, 29 Nov 2017 16:09:58 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:4c8ae668cc8c |
---|---|
1 <?php | |
2 | |
3 namespace Drupal\Core\Block; | |
4 | |
5 /** | |
6 * The interface for "title" blocks. | |
7 * | |
8 * A title block shows the title returned by the controller. | |
9 * | |
10 * @ingroup block_api | |
11 * | |
12 * @see \Drupal\Core\Render\Element\PageTitle | |
13 */ | |
14 interface TitleBlockPluginInterface extends BlockPluginInterface { | |
15 | |
16 /** | |
17 * Sets the title. | |
18 * | |
19 * @param string|array $title | |
20 * The page title: either a string for plain titles or a render array for | |
21 * formatted titles. | |
22 */ | |
23 public function setTitle($title); | |
24 | |
25 } |