function units_ui_entity_ui_get_bundle_add_form in Units of Measurement 7
Same name and namespace in other branches
- 7.2 units_ui.pages.inc \units_ui_entity_ui_get_bundle_add_form()
Wrapper around 'units_ui_entity_ui_get_bundle_add_form' page callback.
Its second argument is fully loaded bundle object of the entity to be created. It simply extracts bundle name from that object and passes down execution to 'entity_ui_get_bundle_add_form' page callback.
Parameters
$entity_type: The type of the entity to be created.
$bundle_entity: Fully loaded bundle entity object of the entity to be created.
1 string reference to 'units_ui_entity_ui_get_bundle_add_form'
- UnitsUnitUIController::hook_menu in includes/
UnitsUnitUIController.class.inc - Provides definitions for implementing hook_menu().
File
- ./
units_ui.pages.inc, line 216 - Menu page callbacks for Units UI module.
Code
function units_ui_entity_ui_get_bundle_add_form($entity_type, $bundle_entity) {
return entity_ui_get_bundle_add_form($entity_type, field_extract_bundle($entity_type, $bundle_entity));
}