protected function FeaturesUIController::domEncode in Features 8.3
Same name and namespace in other branches
- 8.4 modules/features_ui/src/Controller/FeaturesUIController.php \Drupal\features_ui\Controller\FeaturesUIController::domEncode()
Encodes a given key.
Parameters
string $key: The key to encode.
Return value
string The encoded key.
File
- modules/
features_ui/ src/ Controller/ FeaturesUIController.php, line 156
Class
- FeaturesUIController
- Returns ajax responses for the Features UI.
Namespace
Drupal\features_ui\ControllerCode
protected function domEncode($key) {
$replacements = $this
->domEncodeMap();
return strtr($key, $replacements);
}