You are here

public function EventTypeInterface::setAllowCustomRules in RNG - Events and Registrations 8.2

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

Set whether event managers can customize default rules.

Parameters

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

Return value

$this Return this event type for chaining.

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

File

src/Entity/EventTypeInterface.php, line 185

Class

EventTypeInterface
Provides an interface defining a event config entity.

Namespace

Drupal\rng\Entity

Code

public function setAllowCustomRules($allow);