Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
Total | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 4 |
Fieldgroup | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 4 |
getInfo | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 4 |
<?php | |
/** | |
* @file | |
* Contains \Drupal\Core\Render\Element\Fieldgroup. | |
*/ | |
namespace Drupal\Core\Render\Element; | |
/** | |
* Provides a render element for a group of form elements. | |
* | |
* In default rendering, the only difference between a 'fieldgroup' and a | |
* 'fieldset' is the CSS class applied to the containing HTML element. Normally | |
* use a fieldset. | |
* | |
* @see \Drupal\Core\Render\Element\Fieldset for documentation and usage. | |
* | |
* @see \Drupal\Core\Render\Element\Fieldset | |
* @see \Drupal\Core\Render\Element\Details | |
* | |
* @RenderElement("fieldgroup") | |
*/ | |
class Fieldgroup extends Fieldset { | |
public function getInfo() { | |
return array( | |
'#attributes' => array('class' => array('fieldgroup')), | |
) + parent::getInfo(); | |
} | |
} |