Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x

Classes, traits, and interfaces - Drupal 11.1.x - Drupal Core

Primary tabs

  • Drupal 11.1.x

Introduction to classes

A lot of the PHP code in Drupal is object oriented (OO), making use of PHP classes, interfaces, and traits. See the Objected-oriented programming conventions for more information.

See also

Objected-oriented programming conventions

File

core/core.api.php, line 1518

Name Deprecated Object type Namespace File name Summary Direct uses Use statements Strings
ReturnTypeNode final class Prophecy\Doubler\Generator\Node vendor/phpspec/prophecy/src/Prophecy/Doubler/Generator/Node/ReturnTypeNode.php 4
ReturnValueGenerator final class PHPUnit\Framework\MockObject vendor/phpunit/phpunit/src/Framework/MockObject/Runtime/ReturnValueGenerator.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
ReturnValueMap final class PHPUnit\Framework\MockObject\Stub vendor/phpunit/phpunit/src/Framework/MockObject/Runtime/Stub/ReturnValueMap.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 3
ReturnValueNotConfiguredException final class PHPUnit\Framework\MockObject vendor/phpunit/phpunit/src/Framework/MockObject/Exception/ReturnValueNotConfiguredException.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
Return_ class PhpParser\Node\Stmt vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/Return_.php 1
Return_ final class phpDocumentor\Reflection\DocBlock\Tags vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Return_.php Reflection class for a {return tag in a Docblock. 2
Revealer class Prophecy\Prophecy vendor/phpspec/prophecy/src/Prophecy/Prophecy/Revealer.php Basic prophecies revealer. 1
RevealerInterface interface Prophecy\Prophecy vendor/phpspec/prophecy/src/Prophecy/Prophecy/RevealerInterface.php Prophecies revealer interface. 1 1
ReverseContainer final class Drupal\Component\DependencyInjection core/lib/Drupal/Component/DependencyInjection/ReverseContainer.php Retrieves service IDs from the container for public services. 3
ReverseContainer final class Symfony\Component\DependencyInjection vendor/symfony/dependency-injection/ReverseContainer.php Turns public and "container.reversible" services back to their ids.
ReverseEmulator final class PhpParser\Lexer\TokenEmulator vendor/nikic/php-parser/lib/PhpParser/Lexer/TokenEmulator/ReverseEmulator.php Reverses emulation direction of the inner emulator. 1
ReverseProxyMiddleware class Drupal\Core\StackMiddleware core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php Provides support for reverse proxies. 2
RevertOverridesForm class Drupal\layout_builder\Form core/modules/layout_builder/src/Form/RevertOverridesForm.php Reverts the overridden layout to the defaults.
ReviewForm class Drupal\migrate_drupal_ui\Form core/modules/migrate_drupal_ui/src/Form/ReviewForm.php Migrate Upgrade review form. 1
RevisionableContentEntityBase abstract class Drupal\Core\Entity core/lib/Drupal/Core/Entity/RevisionableContentEntityBase.php Provides a content entity with extended support for revisions.
RevisionableEntityBundleInterface interface Drupal\Core\Entity core/lib/Drupal/Core/Entity/RevisionableEntityBundleInterface.php Provides an interface defining a revisionable entity bundle. 4 5
RevisionableInterface interface Drupal\Core\Entity core/lib/Drupal/Core/Entity/RevisionableInterface.php Provides methods for an entity to support revisions. 2 16
RevisionableStorageInterface interface Drupal\Core\Entity core/lib/Drupal/Core/Entity/RevisionableStorageInterface.php A storage that supports revisionable entity types. 1 3
RevisionDeleteForm class Drupal\Core\Entity\Form core/lib/Drupal/Core/Entity/Form/RevisionDeleteForm.php Provides a form for deleting an entity revision. 3
RevisionHtmlRouteProvider class Drupal\Core\Entity\Routing core/lib/Drupal/Core/Entity/Routing/RevisionHtmlRouteProvider.php Provides entity revision routes. 3
RevisionLink class Drupal\node\Plugin\views\field core/modules/node/src/Plugin/views/field/RevisionLink.php Field handler to present a link to a node revision. 2
RevisionLinkDelete class Drupal\node\Plugin\views\field core/modules/node/src/Plugin/views/field/RevisionLinkDelete.php Field handler to present link to delete a node revision.
RevisionLinkRevert class Drupal\node\Plugin\views\field core/modules/node/src/Plugin/views/field/RevisionLinkRevert.php Field handler to present a link to revert a node to a revision.
RevisionLogEntityTrait trait Drupal\Core\Entity core/lib/Drupal/Core/Entity/RevisionLogEntityTrait.php Provides a trait for accessing revision logging and ownership information.
RevisionLogInterface interface Drupal\Core\Entity core/lib/Drupal/Core/Entity/RevisionLogInterface.php Defines methods for an entity that supports revision logging and ownership. 7 11
RevisionRevertForm class Drupal\Core\Entity\Form core/lib/Drupal/Core/Entity/Form/RevisionRevertForm.php Provides a form for reverting an entity revision. 3
RewindableGenerator class Symfony\Component\DependencyInjection\Argument vendor/symfony/dependency-injection/Argument/RewindableGenerator.php @internal 5
Rfc2231Encoder final class Symfony\Component\Mime\Encoder vendor/symfony/mime/Encoder/Rfc2231Encoder.php @author Chris Corbyn 1
Rfc3339 class JsonSchema vendor/justinrainbow/json-schema/src/JsonSchema/Rfc3339.php 1
Rfc7230 final class GuzzleHttp\Psr7 vendor/guzzlehttp/psr7/src/Rfc7230.php @internal
RfcComplianceException class Symfony\Component\Mime\Exception vendor/symfony/mime/Exception/RfcComplianceException.php @author Fabien Potencier <fabien@symfony.com> 1 5
RfcLoggerTrait trait Drupal\Core\Logger core/lib/Drupal/Core/Logger/RfcLoggerTrait.php A copy of \Psr\Log\LoggerTrait that uses RFC 5424 compliant log levels. 2
RfcLogLevel class Drupal\Core\Logger core/lib/Drupal/Core/Logger/RfcLogLevel.php Defines various logging severity levels. 5
RFCValidation class Egulias\EmailValidator\Validation vendor/egulias/email-validator/src/Validation/RFCValidation.php 1 2
RFCWarnings class Egulias\EmailValidator\Result\Reason vendor/egulias/email-validator/src/Result/Reason/RFCWarnings.php 1
Risky final class PHPUnit\Framework\TestStatus vendor/phpunit/phpunit/src/Framework/TestStatus/Risky.php @psalm-immutable
Role class Drupal\user\Entity core/modules/user/src/Entity/Role.php Defines the user role entity class. 15 1
Role class Drupal\user\Plugin\views\access core/modules/user/src/Plugin/views/access/Role.php Access plugin that provides role-based access control.
Role class Drupal\user\Plugin\migrate\source\d6 core/modules/user/src/Plugin/migrate/source/d6/Role.php Drupal 6 role source from database.
Role class Drupal\user\Plugin\migrate\source\d7 core/modules/user/src/Plugin/migrate/source/d7/Role.php Drupal 7 role source from database.
RoleAccessCheck class Drupal\user\Access core/modules/user/src/Access/RoleAccessCheck.php Determines access to routes based on roles. 2
RoleAccessControlHandler class Drupal\user core/modules/user/src/RoleAccessControlHandler.php Defines the access control handler for the user role entity type. 1
RoleForm class Drupal\user core/modules/user/src/RoleForm.php Form controller for the role entity edit forms. 1
RoleInterface interface Drupal\user core/modules/user/src/RoleInterface.php Provides an interface defining a user role entity. 1 22
RoleListBuilder class Drupal\user core/modules/user/src/RoleListBuilder.php Defines a class to build a listing of user role entities. 1
Roles class Drupal\user\Plugin\views\filter core/modules/user/src/Plugin/views/filter/Roles.php Filter handler for user roles.
Roles class Drupal\user\Plugin\views\field core/modules/user/src/Plugin/views/field/Roles.php Field handler to provide a list of roles.
RoleSettingsForm class Drupal\user\Form core/modules/user/src/Form/RoleSettingsForm.php Configure administrator role settings for this site. 1
RolesLookup class Drupal\block\Plugin\migrate\process core/modules/block/src/Plugin/migrate/process/RolesLookup.php Gets the destination roles ID for an array of source roles IDs.
RolesRid class Drupal\user\Plugin\views\argument core/modules/user/src/Plugin/views/argument/RolesRid.php Allow role ID(s) as argument.

Pagination

  • First page
  • Previous page
  • …
  • Page 159
  • Page 160
  • Page 161
  • Page 162
  • Page 163
  • Page 164
  • Page 165
  • Page 166
  • Page 167
  • …
  • Next page
  • Last page
RSS feed
Powered by Drupal