Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
Total | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 7 |
Html | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 7 |
getInfo | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 7 |
<?php | |
/** | |
* @file | |
* Contains \Drupal\Core\Render\Element\Html. | |
*/ | |
namespace Drupal\Core\Render\Element; | |
/** | |
* Provides a render element for an entire HTML page: <html> plus its children. | |
* | |
* @RenderElement("html") | |
*/ | |
class Html extends RenderElement { | |
/** | |
* {@inheritdoc} | |
*/ | |
public function getInfo() { | |
return array( | |
'#theme' => 'html', | |
// HTML5 Shiv | |
'#attached' => array( | |
'library' => array('core/html5shiv'), | |
), | |
); | |
} | |
} |