protected function FeaturesEditForm::domEncodeMap in Features 8.3
Same name and namespace in other branches
- 8.4 modules/features_ui/src/Form/FeaturesEditForm.php \Drupal\features_ui\Form\FeaturesEditForm::domEncodeMap()
Returns encoding map for decode and encode options.
Return value
array An encoding map.
3 calls to FeaturesEditForm::domEncodeMap()
- FeaturesEditForm::domDecode in modules/
features_ui/ src/ Form/ FeaturesEditForm.php - Decodes a given key.
- FeaturesEditForm::domDecodeOptions in modules/
features_ui/ src/ Form/ FeaturesEditForm.php - Decodes an array of option values that have been encoded by features_dom_encode_options().
- FeaturesEditForm::domEncode in modules/
features_ui/ src/ Form/ FeaturesEditForm.php - Encodes a given key.
File
- modules/
features_ui/ src/ Form/ FeaturesEditForm.php, line 1148
Class
- FeaturesEditForm
- Defines the features settings form.
Namespace
Drupal\features_ui\FormCode
protected function domEncodeMap() {
return [
':' => '__' . ord(':') . '__',
'/' => '__' . ord('/') . '__',
',' => '__' . ord(',') . '__',
'.' => '__' . ord('.') . '__',
'<' => '__' . ord('<') . '__',
'>' => '__' . ord('>') . '__',
'%' => '__' . ord('%') . '__',
')' => '__' . ord(')') . '__',
'(' => '__' . ord('(') . '__',
];
}