function workbench_access_get_available_fields in Workbench Access 7
Finds fields that may be associated with a content type.
Parameters
$type: The content type machine name.
Return value
An array of field data that matches the current access scheme.
3 calls to workbench_access_get_available_fields()
- taxonomy_workbench_access_field_ui_field_edit_form_alter in modules/
taxonomy.workbench_access.inc - Implements hook_workbench_access_FORM_ID_alter().
- workbench_access_save_field_elements in ./
workbench_access.admin.inc - Save field element settings for native forms.
- workbench_access_settings_form in ./
workbench_access.admin.inc - Settings form for Workbench Access configuration.
File
- ./
workbench_access.module, line 2107 - Workbench Access module file.
Code
function workbench_access_get_available_fields($type) {
$all = TRUE;
return workbench_access_get_assigned_fields($type, $all);
}