FieldConfigListController::listing

public FieldConfigListController::listing($entity_type_id = NULL, $bundle = NULL, RouteMatchInterface $route_match = NULL)

Shows the 'Manage fields' page.

Parameters

string $entity_type_id: The entity type.

string $bundle: The entity bundle.

\Drupal\Core\Routing\RouteMatchInterface $route_match: The current route match.

Return value

array A render array as expected by drupal_render().

Overrides EntityListController::listing

File

core/modules/field_ui/src/Controller/FieldConfigListController.php, line 26

Class

FieldConfigListController
Defines a controller to list field instances.

Namespace

Drupal\field_ui\Controller

Code

public function listing($entity_type_id = NULL, $bundle = NULL, RouteMatchInterface $route_match = NULL) {
  return $this->entityManager()->getListBuilder('field_config')->render($entity_type_id, $bundle);
}
doc_Drupal
2016-10-29 09:11:16
Comments
Leave a Comment

Please login to continue.