You are here

public function BehaviorSettingsManagerInterface::loadBehaviorSettingsAsConfig in Rabbit Hole 8

Same name and namespace in other branches
  1. 2.x src/BehaviorSettingsManagerInterface.php \Drupal\rabbit_hole\BehaviorSettingsManagerInterface::loadBehaviorSettingsAsConfig()

Load behaviour settings for an entity or bundle, or load the defaults.

Load rabbit hole behaviour settings appropriate to the given config or default settings if not available.

Parameters

string $entity_type_label: The entity type (e.g. node) as a string.

string $entity_id: The entity ID as a string.

Return value

\Drupal\Core\Config\ImmutableConfig The BehaviorSettings Config object.

1 method overrides BehaviorSettingsManagerInterface::loadBehaviorSettingsAsConfig()
BehaviorSettingsManager::loadBehaviorSettingsAsConfig in src/BehaviorSettingsManager.php
Load behaviour settings for an entity or bundle, or load the defaults.

File

src/BehaviorSettingsManagerInterface.php, line 38

Class

BehaviorSettingsManagerInterface
Interface BehaviourSettingsManagerInterface.

Namespace

Drupal\rabbit_hole

Code

public function loadBehaviorSettingsAsConfig($entity_type_label, $entity_id);