class FormRouteEnhancer implements EnhancerInterface (View source)

Enhancer to add a wrapping controller for _form routes.

Methods

bool
applies(Route $route)

Returns whether the enhancer runs on the current route.

enhance(array $defaults, Request $request)

{@inheritdoc}

Details

protected bool applies(Route $route)

Returns whether the enhancer runs on the current route.

Parameters

Route $route

The current route.

Return Value

bool

enhance(array $defaults, Request $request)

{@inheritdoc}

Parameters

array $defaults
Request $request