public function RegistrantTypeForm::exists in RNG - Events and Registrations 8
Same name and namespace in other branches
- 8.2 src/Form/Entity/RegistrantTypeForm.php \Drupal\rng\Form\Entity\RegistrantTypeForm::exists()
- 3.x src/Form/Entity/RegistrantTypeForm.php \Drupal\rng\Form\Entity\RegistrantTypeForm::exists()
File
- src/
Form/ Entity/ RegistrantTypeForm.php, line 56
Class
- RegistrantTypeForm
- Form controller for Registrant types.
Namespace
Drupal\rng\Form\EntityCode
public function exists($entity_id) {
return RegistrantType::load($entity_id) instanceof RegistrantTypeInterface;
}