You are here

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

Set whether event managers can customize default rules.

Parameters

boolean $allow: Whether event managers are allowed to customize default rules.

Return value

$this Return this event type for chaining.

1 method overrides EventTypeInterface::setAllowCustomRules()
EventType::setAllowCustomRules in src/Entity/EventType.php
Set whether event managers can customize default rules.

File

src/EventTypeInterface.php, line 76

Class

EventTypeInterface
Provides an interface defining a event config entity.

Namespace

Drupal\rng

Code

function setAllowCustomRules($allow);