You are here

public function BatUnitController::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_unit/bat_unit.module, line 1195

Class

BatUnitController
The Controller for BatUnit entities.

Code

public function buildContent($entity, $view_mode = 'full', $langcode = NULL, $content = array()) {
  $content = parent::buildContent($entity, $view_mode, $langcode, $content);
  return $content;
}