6 calls to UserProtectCreationTrait::createProtectionRule() in User protect 8
- ProtectedEntityDeleteTest::testNonExistentProtectedRole in tests/
src/ Functional/ ProtectedEntityDeleteTest.php - Tests UI for non-existent protected roles.
- ProtectedEntityDeleteTest::testNonExistentProtectedUser in tests/
src/ Functional/ ProtectedEntityDeleteTest.php - Tests UI for non-existent protected users.
- ProtectedEntityDeleteTest::testRoleDelete in tests/
src/ Kernel/ ProtectedEntityDeleteTest.php - Tests reaction upon role deletion.
- ProtectedEntityDeleteTest::testUserDelete in tests/
src/ Kernel/ ProtectedEntityDeleteTest.php - Tests reaction upon user deletion.
- UserProtectCreationTrait::createProtectedRole in tests/
src/ Traits/ UserProtectCreationTrait.php - Creates a protected role.
- UserProtectCreationTrait::createProtectedUser in tests/
src/ Traits/ UserProtectCreationTrait.php - Creates a protected user.