You are here

pathauto_custom_punctuation_test.module in Pathauto 8

File

tests/modules/pathauto_custom_punctuation_test/pathauto_custom_punctuation_test.module
View source
<?php

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