Search for createUser

  1. Search 7.x for createUser
  2. Search 9.5.x for createUser
  3. Search 8.9.x for createUser
  4. Search 11.x for createUser
  5. Other projects
Title Object type File name Summary
EntityAutocompleteElementFormTest::$testAutocreateUser property core/tests/Drupal/KernelTests/Core/Entity/Element/EntityAutocompleteElementFormTest.php User for autocreate testing.
EntityDeprecationTest::testCreateUserDeprecation function core/tests/Drupal/KernelTests/Core/Entity/EntityDeprecationTest.php Tests deprecation of \Drupal\KernelTests\Core\Entity\EntityKernelTestBase::createUser().
EntityKernelTestBase::createUser function core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBase.php Creates a user.
UserCreationTrait::createUser function core/modules/user/tests/src/Traits/UserCreationTrait.php Create a user with a given set of permissions.
UserRolesAssignmentTest::testCreateUserWithRole function core/modules/user/tests/src/Functional/UserRolesAssignmentTest.php Tests assigning a role at user creation and removing the role.
UserSessionTest::createUserSession function core/tests/Drupal/Tests/Core/Session/UserSessionTest.php Setups a user session for the test.
UserTest::createUserSession function core/modules/user/tests/src/Unit/Plugin/Core/Entity/UserTest.php Setups a user session for the test.

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