Skip to content

Commit 7870c1d

Browse files
committed
minor #17892 [ExpressionLanguage][Validator] Mention the validator.expression_language service (javiereguiluz)
This PR was merged into the 5.4 branch. Discussion ---------- [ExpressionLanguage][Validator] Mention the validator.expression_language service Fixes #14673. Not sure if it's correct, and not sure if it's OK to not add the `versionadded` directive because this was included in 5.3. Commits ------- d0aa814 [ExpressionLanguage] Mention the validator.expression_language service
2 parents caa9478 + d0aa814 commit 7870c1d

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

components/expression_language.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,11 @@ Installation
1919
.. include:: /components/require_autoload.rst.inc
2020

2121
How can the Expression Engine Help Me?
22-
--------------------------------------
22+
23+
.. _how-can-the-expression-engine-help-me:
24+
25+
How can the Expression Language Help Me?
26+
----------------------------------------
2327

2428
The purpose of the component is to allow users to use expressions inside
2529
configuration for more complex logic. For some examples, the Symfony Framework

reference/constraints/Expression.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,12 @@ For more information about the expression and what variables are available
250250
to you, see the :ref:`expression <reference-constraint-expression-option>`
251251
option details below.
252252

253+
.. tip::
254+
255+
Internally, this expression validator constraint uses a service called
256+
``validator.expression_language`` to evaluate the expressions. You can
257+
decorate or extend that service to fit your own needs.
258+
253259
Options
254260
-------
255261

0 commit comments

Comments
 (0)