function _validate_nfs_title_create in Node and Comments Form Settings 7.2
Same name and namespace in other branches
- 6.2 includes/validate_nfs_title_create.inc \_validate_nfs_title_create()
Hide the Revision log field.
File
- includes/
validate_nfs_title_create.inc, line 6
Code
function _validate_nfs_title_create($form, &$form_state) {
if ($form_state['values']['nfs_title_create'] == '') {
form_set_error('nfs_title_create', t('<em>Page title when creating a node</em> cannot be empty'));
}
}