Search for interface

  1. Search 7.x for interface
  2. Search 9.5.x for interface
  3. Search 8.9.x for interface
  4. Search 10.3.x for interface
  5. Other projects
Title Object type File name Summary
UriInterface interface core/lib/Drupal/Core/TypedData/Type/UriInterface.php Interface for URIs.
UriInterface.php file core/lib/Drupal/Core/TypedData/Type/UriInterface.php
UrlGeneratorInterface interface core/lib/Drupal/Core/Routing/UrlGeneratorInterface.php Defines an interface for generating a URL from a route or system path.
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.
UserAuthenticationInterface interface core/modules/user/src/UserAuthenticationInterface.php An interface for validating user authentication credentials.
UserAuthenticationInterface.php file core/modules/user/src/UserAuthenticationInterface.php
UserAuthenticationInterface::authenticateAccount function core/modules/user/src/UserAuthenticationInterface.php Validates user authentication credentials for an account.
UserAuthenticationInterface::lookupAccount function core/modules/user/src/UserAuthenticationInterface.php Validates user authentication credentials.
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.
UserFloodControlInterface interface core/modules/user/src/UserFloodControlInterface.php Defines an interface for user flood controllers.
UserFloodControlInterface.php file core/modules/user/src/UserFloodControlInterface.php
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.

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