You are here

public function ConfigPagesController::buildContent in Config Pages 7

Overriding the buldContent function to add entity specific fields

Overrides EntityAPIController::buildContent

File

./config_pages.module, line 541
This module is based on Model module (https://drupal.org/project/model) and most of the comments left untouched but have entity types renamed. Suuport for features added.

Class

ConfigPagesController
The Controller for ConfigPages entities

Code

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