You are here

public function QuickNodeCloneEntitySettingsForm::getSettings in Quick Node Clone 8

Return the configuration.

Parameters

string $value: The setting name.

Return value

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

Overrides QuickNodeCloneEntitySettingsFormInterface::getSettings

5 calls to QuickNodeCloneEntitySettingsForm::getSettings()
QuickNodeCloneEntitySettingsForm::buildForm in src/Form/QuickNodeCloneEntitySettingsForm.php
Form constructor.
QuickNodeCloneEntitySettingsForm::getDefaultFields in src/Form/QuickNodeCloneEntitySettingsForm.php
Returns the default fields.
QuickNodeCloneEntitySettingsForm::getDescription in src/Form/QuickNodeCloneEntitySettingsForm.php
Returns the description field.
QuickNodeCloneEntitySettingsForm::getSelectedBundles in src/Form/QuickNodeCloneEntitySettingsForm.php
Returns the selected bundles on the form.
QuickNodeCloneNodeSettingsForm::buildForm in src/Form/QuickNodeCloneNodeSettingsForm.php
Form constructor.

File

src/Form/QuickNodeCloneEntitySettingsForm.php, line 268

Class

QuickNodeCloneEntitySettingsForm
Abstract class to configure how entities are cloned.

Namespace

Drupal\quick_node_clone\Form

Code

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