You are here

function _fetch_modifiers in Glossify 6.3

Helper function that returns the modifiers of a given configuration

1 call to _fetch_modifiers()
_glossify_regex in ./glossify.module
Helper function to build regular expression.

File

./glossify.module, line 976

Code

function _fetch_modifiers($configuration) {
  $modifiers = '';
  if ($configuration['unicode']) {
    $modifiers .= 'u';
  }
  if ($configuration['case_insensitivity']) {
    $modifiers .= 'i';
  }
  return $modifiers;
}