function party_hat_entity_info_alter in Party 7
Same name and namespace in other branches
- 8.2 modules/party_hat/party_hat.module \party_hat_entity_info_alter()
Implements hook_entity_info_alter().
File
- modules/
party_hat/ party_hat.module, line 76 - party_hat.module Provides an extensible access system for parties.
Code
function party_hat_entity_info_alter(&$entity_info) {
// Set the UI controller class for parties to our own to add hats into the UI.
$entity_info['party']['admin ui']['controller class'] = 'PartyHatPartyUIController';
}