You are here

public function TcaSettingsManagerInterface::loadSettingsAsConfig in Token Content Access 8

Same name and namespace in other branches
  1. 2.0.x src/TcaSettingsManagerInterface.php \Drupal\tca\TcaSettingsManagerInterface::loadSettingsAsConfig()

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

Load TCA settings appropriate to the given config or default settings if not available.

Parameters

string $entity_type_id: 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 TcaSettings Config object.

1 method overrides TcaSettingsManagerInterface::loadSettingsAsConfig()
TcaSettingsManager::loadSettingsAsConfig in src/TcaSettingsManager.php
Load settings for an entity or bundle, or load the defaults.

File

src/TcaSettingsManagerInterface.php, line 38

Class

TcaSettingsManagerInterface
Interface TcaSettingsManagerInterface.

Namespace

Drupal\tca

Code

public function loadSettingsAsConfig($entity_type_id, $entity_id);