You are here

function EventTypeInterface::setDefaultRegistrantType in RNG - Events and Registrations 8

Set registrant type for new registrants associated with this event type.

Parameters

string|NULL $registrant_type_id: The Registrant type used for new registrants associated with this event type.

Return value

$this Return this event type for chaining.

1 method overrides EventTypeInterface::setDefaultRegistrantType()
EventType::setDefaultRegistrantType in src/Entity/EventType.php
Set registrant type for new registrants associated with this event type.

File

src/EventTypeInterface.php, line 189

Class

EventTypeInterface
Provides an interface defining a event config entity.

Namespace

Drupal\rng

Code

function setDefaultRegistrantType($registrant_type_id);