You are here

protected function ParserBase::getFormHeader in Feeds extensible parsers 8

Returns the configuration form table header.

Return value

array The header array.

2 calls to ParserBase::getFormHeader()
ParserBase::configFormValidate in src/Feeds/Parser/ParserBase.php
ParserBase::_buildConfigurationForm in src/Feeds/Parser/ParserBase.php
Builds configuration form for the parser settings.

File

src/Feeds/Parser/ParserBase.php, line 851

Class

ParserBase
The Feeds extensible parser.

Namespace

Drupal\feeds_ex\Feeds\Parser

Code

protected function getFormHeader() {
  $header = [
    'name' => $this
      ->t('Name'),
    'machine_name' => $this
      ->t('Machine name'),
    'value' => $this
      ->t('Value'),
  ];
  $header += $this
    ->configFormTableHeader();
  $header += [
    'debug' => $this
      ->t('Debug'),
    'remove' => $this
      ->t('Remove'),
    'weight' => $this
      ->t('Weight'),
  ];
  return $header;
}