protected function FeaturesUIController::domDecode in Features 8.4
Same name and namespace in other branches
- 8.3 modules/features_ui/src/Controller/FeaturesUIController.php \Drupal\features_ui\Controller\FeaturesUIController::domDecode()
Decodes a given key.
Parameters
string $key: The key to decode.
Return value
string The decoded key.
1 call to FeaturesUIController::domDecode()
- FeaturesUIController::detect in modules/
features_ui/ src/ Controller/ FeaturesUIController.php - Returns a list of auto-detected config items for a feature.
File
- modules/
features_ui/ src/ Controller/ FeaturesUIController.php, line 170
Class
- FeaturesUIController
- Returns ajax responses for the Features UI.
Namespace
Drupal\features_ui\ControllerCode
protected function domDecode($key) {
$replacements = array_flip($this
->domEncodeMap());
return strtr($key, $replacements);
}