Page.php in Drupal 9
Same filename in this branch
Same filename and directory in other branches
Namespace
Drupal\Core\Render\ElementFile
core/lib/Drupal/Core/Render/Element/Page.phpView source
<?php
namespace Drupal\Core\Render\Element;
/**
* Provides a render element for the content of an HTML page.
*
* This represents the "main part" of the HTML page's body; see html.html.twig.
*
* @RenderElement("page")
*/
class Page extends RenderElement {
/**
* {@inheritdoc}
*/
public function getInfo() {
return [
'#theme' => 'page',
'#title' => '',
];
}
}