You are here

public function QuickNodeCloneEntityFormBuilder::getConfigSettings in Quick Node Clone 8

Get the settings.

Parameters

string $value: The setting name.

Return value

array|mixed|null Returns the setting value if it exists, or NULL.

2 calls to QuickNodeCloneEntityFormBuilder::getConfigSettings()
QuickNodeCloneEntityFormBuilder::excludeParagraphField in src/Entity/QuickNodeCloneEntityFormBuilder.php
Check whether to exclude the paragraph field.
QuickNodeCloneEntityFormBuilder::getForm in src/Entity/QuickNodeCloneEntityFormBuilder.php
Gets the built and processed entity form for the given entity.

File

src/Entity/QuickNodeCloneEntityFormBuilder.php, line 276

Class

QuickNodeCloneEntityFormBuilder
Builds entity forms.

Namespace

Drupal\quick_node_clone\Entity

Code

public function getConfigSettings($value) {
  $settings = $this->configFactory
    ->get('quick_node_clone.settings')
    ->get($value);
  return $settings;
}