1 entity.class.inc public Entity::buildContent($view_mode = 'full', $langcode = NULL)

Implements EntityInterface::buildContent().

Overrides EntityInterface::buildContent

File

core/modules/entity/entity.class.inc, line 314
Provides an interface and a base class for entities.

Class

Entity
Defines a base entity class.

Code

public function buildContent($view_mode = 'full', $langcode = NULL) {
  return entity_get_controller($this->entityType())->buildContent($this, $view_mode, $langcode);
}