protected function UrlEncode::getOptions in Tamper 8
Get the urlencode options.
Return value
array List of options, keyed by url encode function.
1 call to UrlEncode::getOptions()
- UrlEncode::buildConfigurationForm in src/
Plugin/ Tamper/ UrlEncode.php - Form constructor.
File
- src/
Plugin/ Tamper/ UrlEncode.php, line 62
Class
- UrlEncode
- Plugin implementation for url encode.
Namespace
Drupal\tamper\Plugin\TamperCode
protected function getOptions() {
return [
'rawurlencode' => $this
->t('Raw'),
'urlencode' => $this
->t('Legacy: Encodes spaces into + symbols.'),
];
}