You are here

public function EventTypeInterface::setAllowAnonRegistrants 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::setAllowAnonRegistrants()

Set whether or not to allow anonymous registrants.

Parameters

bool $allow_anon_registrants:

Return value

static Return this event type for chaining.

1 method overrides EventTypeInterface::setAllowAnonRegistrants()
RngEventType::setAllowAnonRegistrants in src/Entity/RngEventType.php
@inheritDoc

File

src/Entity/EventTypeInterface.php, line 76

Class

EventTypeInterface
Provides an interface defining a event config entity.

Namespace

Drupal\rng\Entity

Code

public function setAllowAnonRegistrants($allow_anon_registrants);