public EntityListController::listing($entity_type)
Provides the listing page for any entity type.
Parameters
string $entity_type: The entity type to render.
Return value
array A render array as expected by drupal_render().
File
- core/lib/Drupal/Core/Entity/Controller/EntityListController.php, line 21
Class
- EntityListController
- Defines a generic controller to list entities.
Namespace
Drupal\Core\Entity\Controller
Code
public function listing($entity_type) { return $this->entityManager()->getListBuilder($entity_type)->render(); }
Please login to continue.