You are here

35 calls to user_role_grant_permissions() in Drupal 10

AccessDeniedTest::setUp in core/modules/system/tests/src/Functional/System/AccessDeniedTest.php
AjaxCssTest::setUp in core/modules/ckeditor/tests/src/FunctionalJavascript/AjaxCssTest.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.
CommentAttributesTest::testCommentRdfAuthorMarkup in core/modules/rdf/tests/src/Functional/CommentAttributesTest.php
Tests comment author link markup has not been broken by RDF.
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().
NoJavaScriptAnonymousTest::setUp in core/modules/system/tests/src/Functional/Common/NoJavaScriptAnonymousTest.php
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
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.