3 namespace Drupal\field_ui\Controller;
5 use Drupal\Core\Entity\Controller\EntityListController;
6 use Drupal\Core\Routing\RouteMatchInterface;
9 * Defines a controller to list field instances.
11 class FieldConfigListController extends EntityListController {
14 * Shows the 'Manage fields' page.
16 * @param string $entity_type_id
18 * @param string $bundle
20 * @param \Drupal\Core\Routing\RouteMatchInterface $route_match
21 * The current route match.
24 * A render array as expected by drupal_render().
26 public function listing($entity_type_id = NULL, $bundle = NULL, RouteMatchInterface $route_match = NULL) {
27 return $this->entityManager()->getListBuilder('field_config')->render($entity_type_id, $bundle);