You are here

public function EntityFormAccessTokenListBuilder::buildRow in Access unpublished 8

Builds a row for an entity in the entity listing.

Parameters

\Drupal\Core\Entity\EntityInterface $entity: The entity for this row of the list.

Return value

array A render array structure of fields for this entity.

Overrides AccessTokenListBuilder::buildRow

See also

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

File

src/EntityFormAccessTokenListBuilder.php, line 38

Class

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

Namespace

Drupal\access_unpublished

Code

public function buildRow(EntityInterface $entity) {
  $row = parent::buildRow($entity);
  unset($row['host']);
  return $row;
}