Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
Total | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 5 |
Form | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 5 |
getInfo | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 5 |
<?php | |
/** | |
* @file | |
* Contains \Drupal\Core\Render\Element\Form. | |
*/ | |
namespace Drupal\Core\Render\Element; | |
use Drupal\Core\Render\Element; | |
/** | |
* Provides a render element for a form. | |
* | |
* @RenderElement("form") | |
*/ | |
class Form extends RenderElement { | |
/** | |
* {@inheritdoc} | |
*/ | |
public function getInfo() { | |
return array( | |
'#method' => 'post', | |
'#theme_wrappers' => array('form'), | |
); | |
} | |
} |