1 entity.class.inc | public EntityInterface::buildContent($view_mode = 'full', $langcode = NULL) |
Builds a structured array representing the entity's content.
Parameters
string $view_mode: View mode, e.g. 'full', 'teaser'...
string|NULL $langcode: (optional) A language code to use for rendering. Defaults to the global content language of the current request.
File
- core/
modules/ entity/ entity.class.inc, line 136 - Provides an interface and a base class for entities.
Class
- EntityInterface
- Defines a common interface for all entity objects.
Code
public function buildContent($view_mode = 'full', $langcode = NULL);