function bundle_load in Entity Construction Kit (ECK) 7.3
Same name and namespace in other branches
- 7.2 eck.module \bundle_load()
Bundle load.
15 calls to bundle_load()
- eck_form_field_ui_field_overview_form_alter in ./
eck.module - Adds a manage properties section.
- eck_form_field_ui_field_overview_form_submit in ./
eck.module - Form submission handler for ECK's additions to field_ui_field_overview_form.
- 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).
File
- ./
eck.module, line 396
Code
function bundle_load($entity_type_name, $bundle_name) {
return Bundle::loadByMachineName("{$entity_type_name}_{$bundle_name}");
}