Hi,
I think its bug and will be good to fix that.. all titles not showing and only edit button there.

CommentFileSizeAuthor
Screen Shot 2017-03-10 at 10.41.23.png52.45 KBwooody

Comments

wooody created an issue. See original summary.

berdir’s picture

Category: Bug report » Support request
Status: Active » Closed (works as designed)

We provide a view as overview, the list builder is just a fall back for operations and having a defined route.

I don't know why you're missing that view, but you can always create one yourself or do a single config import.

ggallant’s picture

I am seeing the same behavior... only see of list of edit/update widgets

To get this working I created a new module :
- implemented hook function mymodule_entity_type_alter(array &$entity_types)

function redirect_entity_type_alter(array &$entity_types) {
  /** @var $entity_types \Drupal\Core\Entity\EntityTypeInterface[] */
  $entity_types['redirect']->setListBuilderClass('Drupal\myModule\MyModuleRedirectListBuilder');
}

- subclassed Drupal\Core\Entity\EntityListBuilder to implement buildHeader and buildRow functions

  public function buildHeader() {
    $header['label'] = $this->t('Redirect');
    $header['id'] = $this->t('Machine name');
    $header['operations'] = $this->t('Operations');
    return $header;
  }

  /**
   * {@inheritdoc}
   */
  public function buildRow(EntityInterface $entity) {
    $row['label'] = $entity->label();
    $row['id'] = $entity->id();
    return $row + parent::buildRow($entity);
  }