Search for interface

  1. Search 7.x for interface
  2. Search 9.5.x for interface
  3. Search 10.3.x for interface
  4. Search 11.x for interface
  5. Other projects
Title Object type File name Summary
UrlGeneratorInterface.php file core/lib/Drupal/Core/Routing/UrlGeneratorInterface.php
UrlGeneratorInterface::generateFromRoute function core/lib/Drupal/Core/Routing/UrlGeneratorInterface.php Generates a URL or path for a specific route based on the given parameters.
UrlGeneratorInterface::getPathFromRoute function core/lib/Drupal/Core/Routing/UrlGeneratorInterface.php Gets the internal path (system path) for a route.
UrlGeneratorTest::testAbsoluteURLGenerationUsingInterfaceConstants function core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php Confirms that absolute URLs work with generated routes using interface constants.
UrlGeneratorTest::testAliasGenerationUsingInterfaceConstants function core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php Confirms that generated routes will have aliased paths using interface constants.
UrlResolverInterface interface core/modules/media/src/OEmbed/UrlResolverInterface.php Defines the interface for the oEmbed URL resolver service.
UrlResolverInterface.php file core/modules/media/src/OEmbed/UrlResolverInterface.php
UrlResolverInterface::getProviderByUrl function core/modules/media/src/OEmbed/UrlResolverInterface.php Tries to determine the oEmbed provider for a media asset URL.
UrlResolverInterface::getResourceUrl function core/modules/media/src/OEmbed/UrlResolverInterface.php Builds the resource URL for a media asset URL.
UserAuthInterface interface core/modules/user/src/UserAuthInterface.php An interface for validating user authentication credentials.
UserAuthInterface.php file core/modules/user/src/UserAuthInterface.php
UserAuthInterface::authenticate function core/modules/user/src/UserAuthInterface.php Validates user authentication credentials.
UserDataInterface interface core/modules/user/src/UserDataInterface.php Defines the user data service interface.
UserDataInterface.php file core/modules/user/src/UserDataInterface.php
UserDataInterface::delete function core/modules/user/src/UserDataInterface.php Deletes data stored for a user account.
UserDataInterface::get function core/modules/user/src/UserDataInterface.php Returns data stored for a user account.
UserDataInterface::set function core/modules/user/src/UserDataInterface.php Stores data for a user account.
UserInterface interface core/modules/user/src/UserInterface.php Provides an interface defining a user entity.
UserInterface.php file core/modules/user/src/UserInterface.php
UserInterface::activate function core/modules/user/src/UserInterface.php Activates the user.
UserInterface::addRole function core/modules/user/src/UserInterface.php Add a role to a user.
UserInterface::block function core/modules/user/src/UserInterface.php Blocks the user.
UserInterface::checkExistingPassword function core/modules/user/src/UserInterface.php Checks the existing password if set.
UserInterface::getCreatedTime function core/modules/user/src/UserInterface.php Returns the creation time of the user as a UNIX timestamp.
UserInterface::getInitialEmail function core/modules/user/src/UserInterface.php Returns the email that was used when the user was registered.
UserInterface::getLastLoginTime function core/modules/user/src/UserInterface.php Returns the UNIX timestamp when the user last logged in.
UserInterface::getPassword function core/modules/user/src/UserInterface.php Returns the hashed password.
UserInterface::hasRole function core/modules/user/src/UserInterface.php Whether a user has a certain role.
UserInterface::isActive function core/modules/user/src/UserInterface.php Returns TRUE if the user is active.
UserInterface::isBlocked function core/modules/user/src/UserInterface.php Returns TRUE if the user is blocked.
UserInterface::REGISTER_ADMINISTRATORS_ONLY constant core/modules/user/src/UserInterface.php Only administrators can create user accounts.
UserInterface::REGISTER_VISITORS constant core/modules/user/src/UserInterface.php Visitors can create their own accounts.
UserInterface::REGISTER_VISITORS_ADMINISTRATIVE_APPROVAL constant core/modules/user/src/UserInterface.php Visitors can create accounts that only become active with admin approval.
UserInterface::removeRole function core/modules/user/src/UserInterface.php Remove a role from a user.
UserInterface::setEmail function core/modules/user/src/UserInterface.php Sets the email address of the user.
UserInterface::setExistingPassword function core/modules/user/src/UserInterface.php Sets the existing plain text password.
UserInterface::setLastAccessTime function core/modules/user/src/UserInterface.php Sets the UNIX timestamp when the user last accessed the site..
UserInterface::setLastLoginTime function core/modules/user/src/UserInterface.php Sets the UNIX timestamp when the user last logged in.
UserInterface::setPassword function core/modules/user/src/UserInterface.php Sets the user password.
UserInterface::setUsername function core/modules/user/src/UserInterface.php Sets the username of this account.
UserInterface::TIMEZONE_DEFAULT constant core/modules/user/src/UserInterface.php New users will be set to the default time zone at registration.
UserInterface::TIMEZONE_EMPTY constant core/modules/user/src/UserInterface.php New users will get an empty time zone at registration.
UserInterface::TIMEZONE_SELECT constant core/modules/user/src/UserInterface.php New users will select their own timezone at registration.
UserInterface::USERNAME_MAX_LENGTH constant core/modules/user/src/UserInterface.php Maximum length of username text field.
UserStorageInterface interface core/modules/user/src/UserStorageInterface.php Defines an interface for user entity storage classes.
UserStorageInterface.php file core/modules/user/src/UserStorageInterface.php
UserStorageInterface::deleteRoleReferences function core/modules/user/src/UserStorageInterface.php Delete role references.
UserStorageInterface::updateLastAccessTimestamp function core/modules/user/src/UserStorageInterface.php Update the last access timestamp of the user.
UserStorageInterface::updateLastLoginTimestamp function core/modules/user/src/UserStorageInterface.php Update the last login timestamp of the user.
UuidInterface interface core/lib/Drupal/Component/Uuid/UuidInterface.php Interface for generating UUIDs.

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