You are here

public function FieldValidationRuleSetListBuilder::buildHeader in Field Validation 8

Builds the header row for the entity listing.

Return value

array A render array structure of header strings.

Overrides EntityListBuilder::buildHeader

See also

\Drupal\Core\Entity\EntityListBuilder::render()

File

src/FieldValidationRuleSetListBuilder.php, line 56

Class

FieldValidationRuleSetListBuilder
Defines a class to build a listing of FieldValidationRuleSet entities.

Namespace

Drupal\field_validation

Code

public function buildHeader() {
  $header['label'] = $this
    ->t('Rule set name');
  return $header + parent::buildHeader();
}