public function Entity::buildContent

cis7 entity.inc public Entity::buildContent($view_mode = 'full', $langcode = NULL)
cle7 entity.inc public Entity::buildContent($view_mode = 'full', $langcode = NULL)
elmsmedia7 entity.inc public Entity::buildContent($view_mode = 'full', $langcode = NULL)
icor7 entity.inc public Entity::buildContent($view_mode = 'full', $langcode = NULL)
meedjum_blog7 entity.inc public Entity::buildContent($view_mode = 'full', $langcode = NULL)
mooc7 entity.inc public Entity::buildContent($view_mode = 'full', $langcode = NULL)

Builds a structured array representing the entity's content.

See also

entity_build_content()

1 method overrides Entity::buildContent()
EntityClass::buildContent in sites/all/modules/ulmus/entity/tests/entity_test.module
Override buildContent() to add the username to the output.

File

sites/all/modules/ulmus/entity/includes/entity.inc, line 235
Provides a base class for entities.

Class

Entity
A common class for entities.

Code

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

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.