public function GroupController::listing in RNG - Events and Registrations 8
Same name and namespace in other branches
- 8.2 src/Controller/GroupController.php \Drupal\rng\Controller\GroupController::listing()
- 3.x src/Controller/GroupController.php \Drupal\rng\Controller\GroupController::listing()
Provides a list of registration groups for an event.
Parameters
\Drupal\Core\Entity\EntityInterface $rng_event: The RNG event.
Return value
array A render array.
File
- src/
Controller/ GroupController.php, line 40
Class
- GroupController
- Controller for Registration Groups.
Namespace
Drupal\rng\ControllerCode
public function listing(EntityInterface $rng_event) {
return $this
->entityTypeManager()
->getListBuilder('registration_group')
->render($rng_event);
}