You are here

function forena_process_machine_name in Forena Reports 8

Same name and namespace in other branches
  1. 7.5 forena.module \forena_process_machine_name()
  2. 7.4 forena.module \forena_process_machine_name()
1 string reference to 'forena_process_machine_name'
forena_element_info in ./forena.module
Create a derivative to the machine name field with relaxed restrictions.

File

./forena.module, line 791

Code

function forena_process_machine_name($element, &$form_state) {
  $element['#machine_name']['replace_pattern'] = '[^A-Za-z0-9_\\.\\/]+';
  return $element;
}