FilterFormatListBuilder::buildHeader

public FilterFormatListBuilder::buildHeader()

Builds the header row for the entity listing.

Return value

array A render array structure of header strings.

Overrides DraggableListBuilder::buildHeader

See also

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

File

core/modules/filter/src/FilterFormatListBuilder.php, line 79

Class

FilterFormatListBuilder
Defines a class to build a listing of filter format entities.

Namespace

Drupal\filter

Code

public function buildHeader() {
  $header['label'] = $this->t('Name');
  $header['roles'] = $this->t('Roles');
  return $header + parent::buildHeader();
}
doc_Drupal
2016-10-29 09:14:47
Comments
Leave a Comment

Please login to continue.