Page.php
Same filename in this branch
Namespace
Drupal\Core\Render\ElementFile
-
core/
lib/ Drupal/ Core/ Render/ Element/ Page.php
View source
<?php
namespace Drupal\Core\Render\Element;
use Drupal\Core\Render\Attribute\RenderElement;
/**
* 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.
*/
class Page extends RenderElementBase {
/**
* {@inheritdoc}
*/
public function getInfo() {
return [
'#theme' => 'page',
'#title' => '',
];
}
}
Classes
Title | Deprecated | Summary |
---|---|---|
Page | Provides a render element for the content of an HTML page. |