Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc5d5dbb

Browse files
committed
Minor reword
1 parent5c52321 commitc5d5dbb

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

‎reference/twig_reference.rst‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -308,12 +308,12 @@ is_granted
308308
``field`` *(optional)*
309309
**type**: ``string``
310310

311-
Returns ``true`` if the current user has therequired role, if only one
312-
ispassed; if more than one is passed, with an array, the behavior depends
313-
on howthe:ref:`Access Decision Manager<components-security-access-decision-manager>`
314-
is configured; by default, the user has to have at least one of the passed roles.
311+
Returns ``true`` if the current user has thegiven role. If several roles are
312+
passed in an array, returns ``true`` if the user has all of them or at least one
313+
of them, depending onthevalue of this option:
314+
:ref:`security.access_decision_manager.strategy<security-voters-change-strategy>`.
315315

316-
Optionally, an object can bepasted to be used by the voter. More information
316+
Optionally, an object can bepassed to be used by the voter. More information
317317
can be found in:ref:`security-template`.
318318

319319
..note::

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp