public function EventMetaInterface::registrationTypeIsValid in RNG - Events and Registrations 8
Same name and namespace in other branches
- 8.2 src/EventMetaInterface.php \Drupal\rng\EventMetaInterface::registrationTypeIsValid()
- 3.x src/EventMetaInterface.php \Drupal\rng\EventMetaInterface::registrationTypeIsValid()
Checks if a registration type is allowed to be used on an event.
Parameters
\Drupal\rng\RegistrationTypeInterface: A registration type entity.
Return value
boolean Whether the registration type can be used.
1 method overrides EventMetaInterface::registrationTypeIsValid()
- EventMeta::registrationTypeIsValid in src/
EventMeta.php - Checks if a registration type is allowed to be used on an event.
File
- src/
EventMetaInterface.php, line 98
Class
- EventMetaInterface
- Interface for EventMeta.
Namespace
Drupal\rngCode
public function registrationTypeIsValid(RegistrationTypeInterface $registration_type);