You are here

public function UnitsUnitUIController::bundleArgument in Units of Measurement 7.2

Same name and namespace in other branches
  1. 7 includes/UnitsUnitUIController.class.inc \UnitsUnitUIController::bundleArgument()

Supportive function.

Extracts bundle argument from menu path.

3 calls to UnitsUnitUIController::bundleArgument()
UnitsUnitUIController::entityFormSubmitBuildEntity in includes/UnitsUnitUIController.class.inc
Entity submit builder invoked via entity_ui_form_submit_build_entity().
UnitsUnitUIController::overviewTable in includes/UnitsUnitUIController.class.inc
Generates the render array for a overview table for arbitrary entities matching the given conditions.
UnitsUnitUIController::__construct in includes/UnitsUnitUIController.class.inc

File

includes/UnitsUnitUIController.class.inc, line 56
Definition of UnitsUnitUIController class.

Class

UnitsUnitUIController
Admin UI controller class for entity type 'units_unit'.

Code

public function bundleArgument() {
  return arg($this
    ->bundleArgumentPosition());
}