protected function UnitsUnitUIController::bundleArgumentPosition in Units of Measurement 7.2
Same name and namespace in other branches
- 7 includes/UnitsUnitUIController.class.inc \UnitsUnitUIController::bundleArgumentPosition()
Supportive function.
Based on entity info extracts menu argument position of bundle.
2 calls to UnitsUnitUIController::bundleArgumentPosition()
- UnitsUnitUIController::bundleArgument in includes/
UnitsUnitUIController.class.inc - Supportive function.
- UnitsUnitUIController::hook_menu in includes/
UnitsUnitUIController.class.inc - Provides definitions for implementing hook_menu().
File
- includes/
UnitsUnitUIController.class.inc, line 72 - Definition of UnitsUnitUIController class.
Class
- UnitsUnitUIController
- Admin UI controller class for entity type 'units_unit'.
Code
protected function bundleArgumentPosition() {
// We have defined a custom property 'path bundle argument position' in
// hook_entity_info(), of which we now take advantage.
return $this->entityInfo['admin ui']['path bundle argument position'];
}