public function BatEventController::buildContent in Booking and Availability Management Tools for Drupal 7
Overriding the buildContent function to add entity specific fields.
Overrides EntityAPIController::buildContent
File
- modules/
bat_event/ bat_event.module, line 1491 - Manage Events - Events store the EventValue of a Unit over a period of time.
Class
- BatEventController
- The Controller for BatEvent entities.
Code
public function buildContent($entity, $view_mode = 'full', $langcode = NULL, $content = array()) {
$content = parent::buildContent($entity, $view_mode, $langcode, $content);
return $content;
}