You are here

public function TMGMTJob::buildContent in Translation Management Tool 7

Builds a structured array representing the entity's content.

Overrides Entity::buildContent

See also

entity_build_content()

File

entity/tmgmt.entity.job.inc, line 169

Class

TMGMTJob
Entity class for the tmgmt_job entity.

Code

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