public function EventMetaInterface::registrationTypeIsValid in RNG - Events and Registrations 8.2
Same name and namespace in other branches
- 8 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\Entity\RegistrationTypeInterface: A registration type entity.
Return value
bool 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 99
Class
- EventMetaInterface
- Interface for EventMeta.
Namespace
Drupal\rngCode
public function registrationTypeIsValid(RegistrationTypeInterface $registration_type);