t('Status ID'); $header['name'] = $this->t('Name'); return $header + parent::buildHeader(); } /** * {@inheritdoc} */ public function buildRow(EntityInterface $entity) { /* @var $entity \Drupal\statusmessage\Entity\Status */ $row['id'] = $entity->id(); $row['name'] = $this->l( $entity->label(), new Url( 'entity.status.edit_form', array( 'status' => $entity->id(), ) ) ); return $row + parent::buildRow($entity); } }