You are here

constant FormModesSubscriber::ROUTE_PATH_CONTEXT_REGEX in Form mode manager 8

Same name and namespace in other branches
  1. 8.2 src/Routing/EventSubscriber/FormModesSubscriber.php \Drupal\form_mode_manager\Routing\EventSubscriber\FormModesSubscriber::ROUTE_PATH_CONTEXT_REGEX

The Regex pattern to contextualize process by route path.

File

src/Routing/EventSubscriber/FormModesSubscriber.php, line 28

Class

FormModesSubscriber
Subscriber for form_mode_manager routes.

Namespace

Drupal\form_mode_manager\Routing\EventSubscriber

Code

const ROUTE_PATH_CONTEXT_REGEX = '/^.*?\\/edit[^$]*/';