protected function UnitsUnitUIController::getBundleEntity in Units of Measurement 7
Retrieve the bundle (measure) entity whose units are being administered.
Return value
Entity Measure entity whose units are being administered
File
- includes/
UnitsUnitUIController.class.inc, line 108 - Definition of UnitsUnitUIController class.
Class
- UnitsUnitUIController
- Admin UI controller class for entity type 'units_unit'.
Code
protected function getBundleEntity() {
return units_measure_machine_name_load($this
->bundleArgument());
}