function forena_process_machine_name in Forena Reports 8
Same name and namespace in other branches
- 7.5 forena.module \forena_process_machine_name()
- 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;
}