You are here

public function ConfigSourcePluginUi::overviewFormHeader in Translation Management Tool 8

Gets overview form header.

Return value

array Header array definition as expected by theme_tablesort().

File

sources/tmgmt_config/src/ConfigSourcePluginUi.php, line 91

Class

ConfigSourcePluginUi
Config source plugin UI.

Namespace

Drupal\tmgmt_config

Code

public function overviewFormHeader($type) {
  $header = array(
    'title' => array(
      'data' => $this
        ->t('Title (in source language)'),
    ),
    'config_id' => array(
      'data' => $this
        ->t('Configuration ID'),
    ),
  );
  $header += $this
    ->getLanguageHeader();
  return $header;
}