8 calls to ModerationStateTestBase::grantUserPermissionToCreateContentOfType()

DefaultModerationStateTest::setUp in core/modules/content_moderation/tests/src/Functional/DefaultModerationStateTest.php
Sets the test up.
ModerationFormTest::setUp in core/modules/content_moderation/tests/src/Functional/ModerationFormTest.php
Sets the test up.
ModerationFormTest::testModerationFormSetsRevisionAuthor in core/modules/content_moderation/tests/src/Functional/ModerationFormTest.php
Tests the revision author is updated when the moderation form is used.
ModerationStateNodeTest::setUp in core/modules/content_moderation/tests/src/Functional/ModerationStateNodeTest.php
Sets the test up.
ModerationStateNodeTypeTest::testEnablingOnExistingContent in core/modules/content_moderation/tests/src/Functional/ModerationStateNodeTypeTest.php
Tests enabling moderation on an existing node-type, with content.
ModerationStateNodeTypeTest::testNotModerated in core/modules/content_moderation/tests/src/Functional/ModerationStateNodeTypeTest.php
A node type without moderation state disabled.
NavigationTopBarContentModerationTest::setUp in core/modules/navigation/tests/src/Functional/NavigationTopBarContentModerationTest.php
Sets the test up.
NodeAccessTest::setUp in core/modules/content_moderation/tests/src/Functional/NodeAccessTest.php
Sets the test up.

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