You are here

function get_bundle_admin_info in Entity Construction Kit (ECK) 7.3

Same name and namespace in other branches
  1. 7 eck.entity.inc \get_bundle_admin_info()
  2. 7.2 eck.entity.inc \get_bundle_admin_info()

Get admin bundle information from the entity info array.

2 calls to get_bundle_admin_info()
eck__bundle__list in ./eck.bundle.inc
Page call back for the bundle overview table.
eck__entity__menu in ./eck.entity.inc
Entity related menu items.

File

./eck.entity.inc, line 173
All the menus, pages, and functionality related to administering entities.

Code

function get_bundle_admin_info($entity_type, $bundle) {
  $info = entity_get_info();
  return $info[$entity_type]['bundles'][$bundle]['admin'];
}