You are here

function CourseObjectController::buildContent in Course 7

Same name and namespace in other branches
  1. 7.2 includes/CourseObjectController.inc \CourseObjectController::buildContent()

Implements EntityAPIControllerInterface.

Parameters

$content: Optionally. Allows pre-populating the built content to ease overriding this method.

Overrides EntityAPIController::buildContent

File

includes/CourseObjectController.inc, line 77

Class

CourseObjectController

Code

function buildContent($entity, $view_mode = 'full', $langcode = NULL, $content = array()) {
  $build = parent::buildContent($entity, $view_mode, $langcode, $content);
  $build['#theme'] = 'course_object';
  return $build;
}