You are here

protected function FeaturesEditForm::domDecode in Features 8.3

Same name and namespace in other branches
  1. 8.4 modules/features_ui/src/Form/FeaturesEditForm.php \Drupal\features_ui\Form\FeaturesEditForm::domDecode()

Decodes a given key.

Parameters

string $key: The key to decode.

Return value

string The decoded key.

File

modules/features_ui/src/Form/FeaturesEditForm.php, line 1116

Class

FeaturesEditForm
Defines the features settings form.

Namespace

Drupal\features_ui\Form

Code

protected function domDecode($key) {
  $replacements = array_flip($this
    ->domEncodeMap());
  return strtr($key, $replacements);
}