function multifield_edit_access in Multifield 7
Same name and namespace in other branches
- 7.2 multifield.module \multifield_edit_access()
1 call to multifield_edit_access()
- multifield_list_page in ./
multifield.admin.inc - @file Administation pages and forms for the Multifield module.
1 string reference to 'multifield_edit_access'
- multifield_menu in ./
multifield.module - Implements hook_menu().
File
- ./
multifield.module, line 78
Code
function multifield_edit_access($multifield, $account = NULL) {
return empty($multifield->locked) && user_access('administer multifield', $account);
}