You are here

public static function Registrants::preRenderRegistrants in RNG - Events and Registrations 8

Same name and namespace in other branches
  1. 8.2 src/Element/Registrants.php \Drupal\rng\Element\Registrants::preRenderRegistrants()
  2. 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\Element

Code

public static function preRenderRegistrants($element) {
  $element['#attributes']['class'][] = 'registrants-element';
  return $element;
}