You are here

function get_bundle_admin_info in Entity Construction Kit (ECK) 7

Same name and namespace in other branches
  1. 7.3 eck.entity.inc \get_bundle_admin_info()
  2. 7.2 eck.entity.inc \get_bundle_admin_info()
2 calls to get_bundle_admin_info()
eck__bundle__overview in ./eck.bundle.inc
Page call back for the bundle overview table (to see and manipulate all created label of a given type)
eck__entity__menu in ./eck.entity.inc
This function creates the menu items related to entity administration

File

./eck.entity.inc, line 90
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'];
}