class FieldConfigListController
Same name and namespace in other branches
- 11.x core/modules/field_ui/src/Controller/FieldConfigListController.php \Drupal\field_ui\Controller\FieldConfigListController
Defines a controller to list field instances.
Hierarchy
- class \Drupal\Core\Controller\ControllerBase extends \Drupal\Core\DependencyInjection\ContainerInjectionInterface uses \Drupal\Core\Logger\LoggerChannelTrait, \Drupal\Core\Messenger\MessengerTrait, \Drupal\Core\Routing\RedirectDestinationTrait, \Drupal\Core\StringTranslation\StringTranslationTrait
- class \Drupal\Core\Entity\Controller\EntityListController implements \Drupal\Core\Controller\ControllerBase
- class \Drupal\field_ui\Controller\FieldConfigListController implements \Drupal\Core\Entity\Controller\EntityListController
- class \Drupal\Core\Entity\Controller\EntityListController implements \Drupal\Core\Controller\ControllerBase
Expanded class hierarchy of FieldConfigListController
File
-
core/
modules/ field_ui/ src/ Controller/ FieldConfigListController.php, line 11
Namespace
Drupal\field_ui\ControllerView source
class FieldConfigListController extends EntityListController {
/**
* Shows the 'Manage fields' page.
*
* @param string $entity_type_id
* The entity type.
* @param string $bundle
* The entity bundle.
* @param \Drupal\Core\Routing\RouteMatchInterface $route_match
* The current route match.
*
* @return array
* A render array as expected by
* \Drupal\Core\Render\RendererInterface::render().
*/
public function listing($entity_type_id = NULL, $bundle = NULL, RouteMatchInterface $route_match = NULL) {
return $this->entityTypeManager()
->getListBuilder('field_config')
->render($entity_type_id, $bundle);
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.