You are here

public function BehaviorSettings::getAllowOverride in Rabbit Hole 2.x

Same name and namespace in other branches
  1. 8 src/Entity/BehaviorSettings.php \Drupal\rabbit_hole\Entity\BehaviorSettings::getAllowOverride()

Get whether overrides are allowed if this is for a bundle.

Return value

int Whether overrides are allowed if this is for a bundle. 0 (N/A), 1 (Allow), or 2 (Disallow).

Overrides BehaviorSettingsInterface::getAllowOverride

File

src/Entity/BehaviorSettings.php, line 135

Class

BehaviorSettings
Defines the Behavior settings entity.

Namespace

Drupal\rabbit_hole\Entity

Code

public function getAllowOverride() {
  return $this->allow_override;
}