You are here

public function EventTypeInterface::setDefaultRegistrantType in RNG - Events and Registrations 3.x

Same name and namespace in other branches
  1. 8.2 src/Entity/EventTypeInterface.php \Drupal\rng\Entity\EventTypeInterface::setDefaultRegistrantType()

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()
RngEventType::setDefaultRegistrantType in src/Entity/RngEventType.php
Set registrant type for new registrants associated with this event type.

File

src/Entity/EventTypeInterface.php, line 313

Class

EventTypeInterface
Provides an interface defining a event config entity.

Namespace

Drupal\rng\Entity

Code

public function setDefaultRegistrantType($registrant_type_id);