class FieldUiRouteEnhancer implements EnhancerInterface (View source)

Enhances Field UI routes by adding proper information about the bundle name.

Traits

Provides a standard way to announce deprecated properties.

Properties

protected $deprecatedProperties {@inheritdoc}
protected EntityTypeManagerInterface $entityTypeManager

The entity type manager service.

Methods

__get($name)

Allows to access deprecated/removed properties.

__construct(EntityTypeManagerInterface $entity_type_manager)

Constructs a FieldUiRouteEnhancer object.

enhance(array $defaults, Request $request)

{@inheritdoc}

applies(Route $route)

{@inheritdoc}

Details

__get($name)

Allows to access deprecated/removed properties.

This method must be public.

Parameters

$name

__construct(EntityTypeManagerInterface $entity_type_manager)

Constructs a FieldUiRouteEnhancer object.

Parameters

EntityTypeManagerInterface $entity_type_manager

The entity type manager service.

enhance(array $defaults, Request $request)

{@inheritdoc}

Parameters

array $defaults
Request $request

protected applies(Route $route)

{@inheritdoc}

Parameters

Route $route