17 calls to user_role_grant_permissions()

AccessDeniedTest::setUp in core/modules/system/tests/src/Functional/System/AccessDeniedTest.php
BreadcrumbTest::testBreadCrumbs in core/modules/system/tests/src/Functional/Menu/BreadcrumbTest.php
Tests breadcrumbs on node and administrative paths.
CommentAdminTest::testEditComment in core/modules/comment/tests/src/Functional/CommentAdminTest.php
Tests editing a comment as an admin.
CommentAnonymousTest::setUp in core/modules/comment/tests/src/Functional/CommentAnonymousTest.php
CommentAnonymousTest::testAnonymous in core/modules/comment/tests/src/Functional/CommentAnonymousTest.php
Tests anonymous comment functionality.
CommentBlockTest::testRecentCommentBlock in core/modules/comment/tests/src/Functional/CommentBlockTest.php
Tests the recent comments block.
CommentCSSTest::setUp in core/modules/comment/tests/src/Functional/CommentCSSTest.php
CommentDisplayConfigurableTest::setUp in core/modules/comment/tests/src/Functional/CommentDisplayConfigurableTest.php
CommentInterfaceTest::testCommentInterface in core/modules/comment/tests/src/Functional/CommentInterfaceTest.php
Tests the comment interface.
CommentNonNodeTest::setUp in core/modules/comment/tests/src/Functional/CommentNonNodeTest.php
FormTest::setUp in core/modules/system/tests/src/Functional/Form/FormTest.php
PageNotFoundTest::setUp in core/modules/system/tests/src/Functional/System/PageNotFoundTest.php
StandardPerformanceTest::setUp in core/profiles/standard/tests/src/FunctionalJavascript/StandardPerformanceTest.php
TextFieldTest::testTextfieldWidgetsAllowedFormats in core/modules/text/tests/src/Functional/TextFieldTest.php
Test widgets for fields with selected allowed formats.
TextFieldTest::_testTextfieldWidgetsFormatted in core/modules/text/tests/src/Functional/TextFieldTest.php
Helper function for testTextfieldWidgetsFormatted().
UserKernelTestBase::setupPermissionTestData in core/modules/user/tests/src/Kernel/Views/UserKernelTestBase.php
Set some test data for permission related tests.
user_role_change_permissions in core/modules/user/user.module
Change permissions for a user role.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.