You are here

function pathauto_custom_punctuation_test_pathauto_punctuation_chars_alter in Pathauto 8

Implements hook_pathauto_punctuation_chars_alter().

File

tests/modules/pathauto_custom_punctuation_test/pathauto_custom_punctuation_test.module, line 6

Code

function pathauto_custom_punctuation_test_pathauto_punctuation_chars_alter(array &$punctuation) {
  $punctuation['copyright'] = [
    'value' => '©',
    'name' => t('Copyright symbol'),
  ];
}