You are here

protected function UrlDecode::getOptions in Tamper 8

Get the urldecode options.

Return value

array List of options, keyed by url decode function.

1 call to UrlDecode::getOptions()
UrlDecode::buildConfigurationForm in src/Plugin/Tamper/UrlDecode.php
Form constructor.

File

src/Plugin/Tamper/UrlDecode.php, line 62

Class

UrlDecode
Plugin implementation for url decode.

Namespace

Drupal\tamper\Plugin\Tamper

Code

protected function getOptions() {
  return [
    'rawurldecode' => $this
      ->t('Raw'),
    'urldecode' => $this
      ->t('Legacy: Decodes + symbols into spaces.'),
  ];
}