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. Search main for interface
  6. Other projects
Title Object type File name Summary
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::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.
UserSessionRepositoryInterface interface core/lib/Drupal/Core/Session/UserSessionRepositoryInterface.php Provides an interface for the user session repository.
UserSessionRepositoryInterface.php file core/lib/Drupal/Core/Session/UserSessionRepositoryInterface.php
UserSessionRepositoryInterface::deleteAll function core/lib/Drupal/Core/Session/UserSessionRepositoryInterface.php Delete all session records of the given user.
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.
UuidInterface.php file core/lib/Drupal/Component/Uuid/UuidInterface.php
UuidInterface::generate function core/lib/Drupal/Component/Uuid/UuidInterface.php Generates a Universally Unique IDentifier (UUID).
UuidReferenceInterface interface core/modules/serialization/src/EntityResolver/UuidReferenceInterface.php Interface for extracting UUID from entity reference data when denormalizing.
UuidReferenceInterface.php file core/modules/serialization/src/EntityResolver/UuidReferenceInterface.php
UuidReferenceInterface::getUuid function core/modules/serialization/src/EntityResolver/UuidReferenceInterface.php Get the uuid from the data array.
UuidResolverTest::testResolveNotInInterface function core/modules/serialization/tests/src/Unit/EntityResolver/UuidResolverTest.php Tests resolve() with a class using the incorrect interface.
VariantInterface interface core/lib/Drupal/Core/Display/VariantInterface.php Provides an interface for DisplayVariant plugins.
VariantInterface.php file core/lib/Drupal/Core/Display/VariantInterface.php
VariantInterface::access function core/lib/Drupal/Core/Display/VariantInterface.php Determines if this display variant is accessible.
VariantInterface::adminLabel function core/lib/Drupal/Core/Display/VariantInterface.php Returns the admin-facing display variant label.
VariantInterface::build function core/lib/Drupal/Core/Display/VariantInterface.php Builds and returns the renderable array for the display variant.
VariantInterface::getWeight function core/lib/Drupal/Core/Display/VariantInterface.php Returns the weight of the display variant.
VariantInterface::id function core/lib/Drupal/Core/Display/VariantInterface.php Returns the unique ID for the display variant.

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