class PartyHatUIController in Party 8.2
Same name and namespace in other branches
- 7 modules/party_hat/includes/party_hat.entity.inc \PartyHatUIController
UI controller.
Hierarchy
- class \PartyHatUIController extends \EntityDefaultUIController
Expanded class hierarchy of PartyHatUIController
1 string reference to 'PartyHatUIController'
- party_hat_entity_info in modules/
party_hat/ party_hat.module - Implements hook_entity_info().
File
- modules/
party_hat/ includes/ party_hat.entity.inc, line 107 - Contains the controller classes for Party entities.
View source
class PartyHatUIController extends EntityDefaultUIController {
/**
* Overrides hook_menu() defaults.
*/
public function hook_menu() {
$items = parent::hook_menu();
$items[$this->path]['title'] = 'Manage hats';
// Set the main hat admin page as a local task so it appears within the
// main Community admin area.
$items[$this->path]['type'] = MENU_LOCAL_TASK;
// Disambiguate the 'list' tab.
$items[$this->path . '/list']['title'] = 'List hats';
return $items;
}
}
Members
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
PartyHatUIController:: |
public | function | Overrides hook_menu() defaults. |