function field_ui_admin_access

Access callback to determine if a user is allowed to use the field UI.

Only grant access if the user has both the "administer fields" permission and is granted access by the entity specific restrictions.

1 string reference to 'field_ui_admin_access'
field_ui_menu in modules/field_ui/field_ui.module
Implements hook_menu().

File

modules/field_ui/field_ui.module, line 417

Code

function field_ui_admin_access($access_callback, $access_arguments) {
    return user_access('administer fields') && call_user_func_array($access_callback, $access_arguments);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.