You are here

public function EntityFormAccessTokenListBuilder::buildHeader in Access unpublished 8

Builds the header row for the entity listing.

Return value

array A render array structure of header strings.

Overrides AccessTokenListBuilder::buildHeader

See also

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

File

src/EntityFormAccessTokenListBuilder.php, line 28

Class

EntityFormAccessTokenListBuilder
Defines a class to build a listing of access token entities.

Namespace

Drupal\access_unpublished

Code

public function buildHeader() {

  // Enable language column and filter if multiple languages are added.
  $header = parent::buildHeader();
  unset($header['host']);
  return $header;
}