public function TMGMTLocalTaskItem::buildContent in Translation Management Tool 7
Builds a structured array representing the entity's content.
Overrides Entity::buildContent
See also
File
- translators/
tmgmt_local/ entity/ tmgmt_local.entity.task_item.inc, line 116
Class
- TMGMTLocalTaskItem
- Entity class for the local task item entity.
Code
public function buildContent($view_mode = 'full', $langcode = NULL) {
$content = drupal_get_form('tmgmt_local_translation_form', $this);
return entity_get_controller($this->entityType)
->buildContent($this, $view_mode, $langcode, $content);
}