You are here

public function BehaviorSettingsManagerInterface::loadBehaviorSettingsAsEditableConfig in Rabbit Hole 8

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

Load behaviour settings for an entity or bundle, or return NULL.

Load editable rabbit hole behaviour settings appropriate to the given config or NULL 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|null The BehaviorSettings Config object or NULL if it does not exist.

1 method overrides BehaviorSettingsManagerInterface::loadBehaviorSettingsAsEditableConfig()
BehaviorSettingsManager::loadBehaviorSettingsAsEditableConfig in src/BehaviorSettingsManager.php
Load behaviour settings for an entity or bundle, or return NULL.

File

src/BehaviorSettingsManagerInterface.php, line 54

Class

BehaviorSettingsManagerInterface
Interface BehaviourSettingsManagerInterface.

Namespace

Drupal\rabbit_hole

Code

public function loadBehaviorSettingsAsEditableConfig($entity_type_label, $entity_id);