You are here

public function TMGMTLocalTask::buildContent in Translation Management Tool 7

Builds a structured array representing the entity's content.

Overrides Entity::buildContent

See also

entity_build_content()

File

translators/tmgmt_local/entity/tmgmt_local.entity.task.inc, line 119

Class

TMGMTLocalTask
Entity class for the local task entity.

Code

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