You are here

public function RngEventType::getAllowCustomRules in RNG - Events and Registrations 8.2

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

Whether to allow event managers to customize default rules.

Return value

bool Whether event managers are allowed to customize default rules.

Overrides EventTypeInterface::getAllowCustomRules

File

src/Entity/RngEventType.php, line 213

Class

RngEventType
Defines the event type entity.

Namespace

Drupal\rng\Entity

Code

public function getAllowCustomRules() {
  return $this->custom_rules;
}