Skip to content

Route match

Available since: 1.0.0

Gets and compares the name of the route.

Fields

Request

The request route match.
When using the "Defined by token" option, make sure there is a token with this name: eca_route_match_request

Route name

The routes and their parameters can be found in the MODULE.routing.yml file, e.g. the route name entity.node.preview.

Comparison operator

The available comparison operators like equals or less than.
When using the "Defined by token" option, make sure there is a token with this name: eca_route_match_operator

Comparison operator. Possible values:

  • equal
  • greater than
  • less than
  • starts with
  • ends with
  • contains
  • at least
  • at most
Comparison type

The type of the comparison.
When using the "Defined by token" option, make sure there is a token with this name: eca_route_match_type

Case sensitive comparison

Compare the values based on case sensitivity.

Negate the condition

Negates the condition. Makes TRUE to FALSE and vice versa.