You are here

public function PartyController::buildContent in Party 7

Same name and namespace in other branches
  1. 8.2 includes/party.entity.inc \PartyController::buildContent()

Overriding the buildContent function to add entity specific fields.

Overrides EntityAPIController::buildContent

File

includes/party.entity.inc, line 210
Contains the controller classes for Party entities.

Class

PartyController
The API controller class for the Party entity.

Code

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