public static function Registrants::preRenderRegistrants in RNG - Events and Registrations 8
Same name and namespace in other branches
- 8.2 src/Element/Registrants.php \Drupal\rng\Element\Registrants::preRenderRegistrants()
- 3.x src/Element/Registrants.php \Drupal\rng\Element\Registrants::preRenderRegistrants()
File
- src/
Element/ Registrants.php, line 708
Class
- Registrants
- Provides a form element for a registrant and person association.
Namespace
Drupal\rng\ElementCode
public static function preRenderRegistrants($element) {
$element['#attributes']['class'][] = 'registrants-element';
return $element;
}