Updated to Drupal 8.6.4, which is PHP 7.3 friendly. Also updated HTMLaw library....
[yaffs-website] / web / core / lib / Drupal / Core / Render / Element / PageTitle.php
1 <?php
2
3 namespace Drupal\Core\Render\Element;
4
5 /**
6  * Provides a render element for the title of an HTML page.
7  *
8  * This represents the title of the HTML page's body.
9  *
10  * @RenderElement("page_title")
11  */
12 class PageTitle extends RenderElement {
13
14   /**
15    * {@inheritdoc}
16    */
17   public function getInfo() {
18     return [
19       '#theme' => 'page_title',
20       // The page title: either a string for plain titles or a render array for
21       // formatted titles.
22       '#title' => NULL,
23     ];
24   }
25
26 }