You are here

public function EventMetaInterface::registrationTypeIsValid in RNG - Events and Registrations 3.x

Same name and namespace in other branches
  1. 8.2 src/EventMetaInterface.php \Drupal\rng\EventMetaInterface::registrationTypeIsValid()
  2. 8 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\rng

Code

public function registrationTypeIsValid(RegistrationTypeInterface $registration_type);