function forena_process_machine_name in Forena Reports 7.5
Same name and namespace in other branches
- 8 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 1721
Code
function forena_process_machine_name($element, &$form_state) {
$element['#machine_name']['replace_pattern'] = '[^A-Za-z0-9_\\.\\/]+';
return $element;
}