Returns an entity list controller for a given entity type.
string $entity_type: The type of the entity.
Drupal\Core\Entity\EntityListControllerInterface An entity list controller.
function entity_list_controller($entity_type) {
return Drupal::entityManager()
->getListController($entity_type);
}