You are here

function get_bundle_admin_info in Entity Construction Kit (ECK) 7.2

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

Get admin bundle information from the entity info array.

Parameters

string $entity_type_name: Entity type.

string $bundle_name: Bundle.

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 147
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'];
}