35 calls to user_role_grant_permissions()
- AccessDeniedTest::setUp in core/
modules/ system/ tests/ src/ Functional/ System/ AccessDeniedTest.php - BookTest::testBookExport in core/
modules/ book/ tests/ src/ Functional/ BookTest.php - Tests book export ("printer-friendly version") functionality.
- 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 - ContactPersonalTest::testAdminContact in core/
modules/ contact/ tests/ src/ Functional/ ContactPersonalTest.php - Tests the personal contact form based access when an admin adds users.
- ContactPersonalTest::testPersonalContactAccess in core/
modules/ contact/ tests/ src/ Functional/ ContactPersonalTest.php - Tests access to the personal contact form.
- ContactSitewideTest::testAutoReply in core/
modules/ contact/ tests/ src/ Functional/ ContactSitewideTest.php - Tests auto-reply on the site-wide contact form.
- ContactSitewideTest::testSiteWideContact in core/
modules/ contact/ tests/ src/ Functional/ ContactSitewideTest.php - Tests configuration options and the site-wide contact form.
- ContactStorageTest::testContactStorage in core/
modules/ contact/ tests/ src/ Functional/ ContactStorageTest.php - Tests configuration options and the site-wide contact form.
- FileFieldWidgetTest::testFileExtensionsSetting in core/
modules/ file/ tests/ src/ Functional/ FileFieldWidgetTest.php - Tests configuring file field's allowed file extensions setting.
- FileFieldWidgetTest::testMaximumUploadFileSizeValidation in core/
modules/ file/ tests/ src/ Functional/ FileFieldWidgetTest.php - Tests maximum upload file size validation.
- FileFieldWidgetTest::testPrivateFileComment in core/
modules/ file/ tests/ src/ Functional/ FileFieldWidgetTest.php - Tests that download restrictions on private files work on comments.
- FileFieldWidgetTest::testPrivateFileSetting in core/
modules/ file/ tests/ src/ Functional/ FileFieldWidgetTest.php - Tests a file field with a "Private files" upload destination setting.
- FileManagedAccessTest::testFileAccess in core/
modules/ file/ tests/ src/ Kernel/ FileManagedAccessTest.php - Tests if public file is always accessible.
- FilterAdminTest::setUp in core/
modules/ filter/ tests/ src/ Functional/ FilterAdminTest.php - FilterSecurityTest::setUp in core/
modules/ filter/ tests/ src/ Functional/ FilterSecurityTest.php - FormTest::setUp in core/
modules/ system/ tests/ src/ Functional/ Form/ FormTest.php - media_install in core/
modules/ media/ media.install - Implements hook_install().
- node_install in core/
modules/ node/ node.install - Implements hook_install().
- PageCacheTest::testPageCacheAnonymousRolePermissions in core/
modules/ page_cache/ tests/ src/ Functional/ PageCacheTest.php - Tests the automatic presence of the anonymous role's cache tag.
- PageNotFoundTest::setUp in core/
modules/ system/ tests/ src/ Functional/ System/ PageNotFoundTest.php - PagePreviewTest::testPagePreviewCache in core/
modules/ node/ tests/ src/ Functional/ PagePreviewTest.php - Tests node preview with dynamic_page_cache and anonymous users.
- 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().
- TrackerTest::setUp in core/
modules/ tracker/ tests/ src/ Functional/ TrackerTest.php - 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.