You are here

public function SettingsForm::getConfigurationFromValues in Markdown 8.2

Retrieves configuration from values.

Parameters

array $values: An array of values.

Return value

array The configuration array.

Deprecated

in markdown:8.x-2.0 and is removed from markdown:3.0.0. Use \Drupal\markdown\Form\ParserConfigurationForm::getConfigFromValues instead.

See also

https://www.drupal.org/project/markdown/issues/3142418

File

src/Form/SettingsForm.php, line 143

Class

SettingsForm
Markdown Settings Form.

Namespace

Drupal\markdown\Form

Code

public function getConfigurationFromValues(array $values) {
  $config = $this
    ->getConfigFromValues($this->settings
    ->getName(), $values);
  return $config
    ->get();
}