Search for getUser

  1. Search 7.x for getUser
  2. Search 9.5.x for getUser
  3. Search 8.9.x for getUser
  4. Search 10.3.x for getUser
  5. Other projects
Title Object type File name Summary
Cookie::getUserFromSession function core/modules/user/src/Authentication/Provider/Cookie.php Returns the UserSession object for the given session.
FormState::getUserInput function core/lib/Drupal/Core/Form/FormState.php Returns the form values as they were submitted by the user.
FormStateDecoratorBase::getUserInput function core/lib/Drupal/Core/Form/FormStateDecoratorBase.php Returns the form values as they were submitted by the user.
FormStateDecoratorBaseTest::testGetUserInput function core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php @covers ::getUserInput
FormStateInterface::getUserInput function core/lib/Drupal/Core/Form/FormStateInterface.php Returns the form values as they were submitted by the user.
InstallHelper::getUser function core/profiles/demo_umami/modules/demo_umami_content/src/InstallHelper.php Looks up a user by name, if it is missing the user is created.
LinkWidget::getUserEnteredStringAsUri function core/modules/link/src/Plugin/Field/FieldWidget/LinkWidget.php Gets the user-entered string as a URI.
ModerationInformationTest::getUser function core/modules/content_moderation/tests/src/Unit/ModerationInformationTest.php Builds a mock user.
NavigationLinkBlock::getUserEnteredStringAsUri function core/modules/navigation/src/Plugin/Block/NavigationLinkBlock.php Gets the user-entered string as a URI.
SessionHttpsTest::getUserLoginFormBuildId function core/modules/system/tests/src/Functional/Session/SessionHttpsTest.php Gets the form build ID for the user login form.
UserLocalTasksTest::getUserAdminRoutes function core/modules/user/tests/src/Unit/Menu/UserLocalTasksTest.php Provides a list of routes to test.
UserLocalTasksTest::getUserLoginRoutes function core/modules/user/tests/src/Unit/Menu/UserLocalTasksTest.php Provides a list of routes to test.
UserLocalTasksTest::getUserPageRoutes function core/modules/user/tests/src/Unit/Menu/UserLocalTasksTest.php Provides a list of routes to test.
ViewExecutable::getUser function core/modules/views/src/ViewExecutable.php Gets the current user.

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