3 namespace Drupal\Core\Render\Element;
6 * Provides a render element for the title of an HTML page.
8 * This represents the title of the HTML page's body.
10 * @RenderElement("page_title")
12 class PageTitle extends RenderElement {
17 public function getInfo() {
19 '#theme' => 'page_title',
20 // The page title: either a string for plain titles or a render array for