You are here

public function BehaviorSettingsManagerInterface::saveBehaviorSettings in Rabbit Hole 2.x

Same name and namespace in other branches
  1. 8 src/BehaviorSettingsManagerInterface.php \Drupal\rabbit_hole\BehaviorSettingsManagerInterface::saveBehaviorSettings()

Save behavior settings for an entity or bundle.

Parameters

array $settings: The settings for the BehaviorSettings entity.

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

string $entity_id: The entity ID as a string.

1 method overrides BehaviorSettingsManagerInterface::saveBehaviorSettings()
BehaviorSettingsManager::saveBehaviorSettings in src/BehaviorSettingsManager.php
Save behavior settings for an entity or bundle.

File

src/BehaviorSettingsManagerInterface.php, line 22

Class

BehaviorSettingsManagerInterface
Interface BehaviourSettingsManagerInterface.

Namespace

Drupal\rabbit_hole

Code

public function saveBehaviorSettings(array $settings, $entity_type_id, $entity_id = NULL);