You are here

function bundle_load in Entity Construction Kit (ECK) 7.2

Same name and namespace in other branches
  1. 7.3 eck.module \bundle_load()

Bundle load.

6 calls to bundle_load()
eck__bundle__delete_form in ./eck.bundle.inc
Bundle delete form callback.
eck__bundle__edit_form in ./eck.bundle.inc
Form constructor for the entity bundle editing form.
eck__entity__add in ./eck.entity.inc
Call back for the local action add (It adds a new entity).
eck__entity__delete in ./eck.entity.inc
Callback function for the delete functionality.
eck__entity__list in ./eck.entity.inc
Entity overview page callback.

... See full list

File

./eck.module, line 365

Code

function bundle_load($entity_type_name, $bundle_name) {
  return Bundle::loadByMachineName("{$entity_type_name}_{$bundle_name}");
}