You are here

function sarnia_field_ui_menu_load in Sarnia 7

Transform the server name argument into entity type and bundle arguments for field_ui_menu_load().

See also

sarnia_menu_alter()

File

./sarnia.module, line 285

Code

function sarnia_field_ui_menu_load($field_name, $server_name, $map = array()) {
  $entity_type = sarnia_entity_server_name_load($server_name);
  return field_ui_menu_load($field_name, $entity_type, $entity_type, 0, array());
}