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