3 namespace Drupal\Core\Block;
6 * The interface for "title" blocks.
8 * A title block shows the title returned by the controller.
12 * @see \Drupal\Core\Render\Element\PageTitle
14 interface TitleBlockPluginInterface extends BlockPluginInterface {
19 * @param string|array $title
20 * The page title: either a string for plain titles or a render array for
23 public function setTitle($title);