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
ResponseIsUnprocessable final class Symfony\Component\HttpFoundation\Test\Constraint vendor/symfony/http-foundation/Test/Constraint/ResponseIsUnprocessable.php
ResponseKeepSessionOpenInterface interface Drupal\Core\Session core/lib/Drupal/Core/Session/ResponseKeepSessionOpenInterface.php Indicates that sessions for this response should be kept open after sending. 1 2
ResponseListener class Symfony\Component\HttpKernel\EventListener vendor/symfony/http-kernel/EventListener/ResponseListener.php ResponseListener fixes the Response headers based on the Request.
ResponsePolicyInterface interface Drupal\Core\PageCache core/lib/Drupal/Core/PageCache/ResponsePolicyInterface.php Defines the interface for response policy implementations. 7 9
ResponseStatus class Drupal\system\Plugin\Condition core/modules/system/src/Plugin/Condition/ResponseStatus.php Provides a 'Response status' condition.
ResponseStatusCodeSame final class Symfony\Component\HttpFoundation\Test\Constraint vendor/symfony/http-foundation/Test/Constraint/ResponseStatusCodeSame.php
ResponseTextException class Behat\Mink\Exception vendor/behat/mink/src/Exception/ResponseTextException.php Exception thrown when an expectation on the response text fails. 1
ResponsiveImage class Drupal\responsive_image\Element core/modules/responsive_image/src/Element/ResponsiveImage.php Provides a responsive image element.
ResponsiveImageFormatter class Drupal\responsive_image\Plugin\Field\FieldFormatter core/modules/responsive_image/src/Plugin/Field/FieldFormatter/ResponsiveImageFormatter.php Plugin for responsive image formatter.
ResponsiveImageHooks class Drupal\responsive_image\Hook core/modules/responsive_image/src/Hook/ResponsiveImageHooks.php Hook implementations for responsive_image.
ResponsiveImageStyle class Drupal\responsive_image\Entity core/modules/responsive_image/src/Entity/ResponsiveImageStyle.php Defines the responsive image style entity. 2
ResponsiveImageStyleForm class Drupal\responsive_image core/modules/responsive_image/src/ResponsiveImageStyleForm.php Form controller for the responsive image edit/add forms. 1
ResponsiveImageStyleInterface interface Drupal\responsive_image core/modules/responsive_image/src/ResponsiveImageStyleInterface.php Provides an interface defining a responsive_image mapping entity. 1 2
ResponsiveImageStyleListBuilder class Drupal\responsive_image core/modules/responsive_image/src/ResponsiveImageStyleListBuilder.php Provides a listing of responsive image styles. 1
ResponsiveImageStyles class Drupal\responsive_image\Plugin\migrate\source\d7 core/modules/responsive_image/src/Plugin/migrate/source/d7/ResponsiveImageStyles.php Gets Drupal responsive image styles source from database.
RestElement class Peast\Syntax\Node vendor/mck89/peast/lib/Peast/Syntax/Node/RestElement.php A node that represents the rest element in array binding patterns or function parameters. For example "...rest" in: [a, ...rest] = b
RestExport class Drupal\rest\Plugin\views\display core/modules/rest/src/Plugin/views/display/RestExport.php The plugin that handles Data response callbacks for REST resources.
RestHooks class Drupal\rest\Hook core/modules/rest/src/Hook/RestHooks.php Hook implementations for rest.
Restorer final class SebastianBergmann\GlobalState vendor/sebastian/global-state/src/Restorer.php 1
RestPermissions class Drupal\rest core/modules/rest/src/RestPermissions.php Provides rest module permissions.
RestResource class Drupal\rest\Attribute core/modules/rest/src/Attribute/RestResource.php Defines a REST resource attribute object. 5
RestResource class Drupal\rest\Annotation core/modules/rest/src/Annotation/RestResource.php Defines a REST resource annotation object.
RestResourceConfig class Drupal\rest\Entity core/modules/rest/src/Entity/RestResourceConfig.php Defines a RestResourceConfig configuration entity class.
RestResourceConfigInterface interface Drupal\rest core/modules/rest/src/RestResourceConfigInterface.php Defines a configuration entity to store enabled REST resources. 1 3
RestripeCommand class Drupal\Core\Ajax core/lib/Drupal/Core/Ajax/RestripeCommand.php AJAX command for resetting the striping on a table.
ReStructuredTextDescriptor class Symfony\Component\Console\Descriptor vendor/symfony/console/Descriptor/ReStructuredTextDescriptor.php 1
Result interface Egulias\EmailValidator\Result vendor/egulias/email-validator/src/Result/Result.php 2 15
Result final class PHPUnit\TextUI\Command vendor/phpunit/phpunit/src/TextUI/Command/Result.php @psalm-immutable 1
Result class Drupal\views\Plugin\views\area core/modules/views/src/Plugin/views/area/Result.php Views area handler to display some configurable result summary.
ResultCache interface PHPUnit\Runner\ResultCache vendor/phpunit/phpunit/src/Runner/ResultCache/ResultCache.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 2 3
ResultCacheHandler final class PHPUnit\Runner\ResultCache vendor/phpunit/phpunit/src/Runner/ResultCache/ResultCacheHandler.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 1
ResultPrinter final class PHPUnit\TextUI\Output\Default vendor/phpunit/phpunit/src/TextUI/Output/Default/ResultPrinter.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 1
ResultPrinter final class PHPUnit\TextUI\Output\TestDox vendor/phpunit/phpunit/src/TextUI/Output/TestDox/ResultPrinter.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 1
ResultRow class Drupal\views core/modules/views/src/ResultRow.php A class representing a view result row. 58
RetryMiddleware class GuzzleHttp vendor/guzzlehttp/guzzle/src/RetryMiddleware.php Middleware that retries requests based on the boolean result of invoking the provided "decider" function.
ReturnArgument final class PHPUnit\Framework\MockObject\Stub vendor/phpunit/phpunit/src/Framework/MockObject/Runtime/Stub/ReturnArgument.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 3
ReturnArgumentPromise class Prophecy\Promise vendor/phpspec/prophecy/src/Prophecy/Promise/ReturnArgumentPromise.php Returns nth argument if has one, null otherwise.
ReturnByReferenceException class Prophecy\Exception\Doubler vendor/phpspec/prophecy/src/Prophecy/Exception/Doubler/ReturnByReferenceException.php
ReturnCallback final class PHPUnit\Framework\MockObject\Stub vendor/phpunit/phpunit/src/Framework/MockObject/Runtime/Stub/ReturnCallback.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 3
ReturnFactory final class phpDocumentor\Reflection\DocBlock\Tags\Factory vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Factory/ReturnFactory.php @internal This class is not part of the BC promise of this library. 1
ReturnFunctionValueSniff class PHP_CodeSniffer\Standards\MySource\Sniffs\PHP vendor/squizlabs/php_codesniffer/src/Standards/MySource/Sniffs/PHP/ReturnFunctionValueSniff.php
ReturnPromise class Prophecy\Promise vendor/phpspec/prophecy/src/Prophecy/Promise/ReturnPromise.php Returns saved values one by one until last one, then continuously returns last value.
ReturnReference final class PHPUnit\Framework\MockObject\Stub vendor/phpunit/phpunit/src/Framework/MockObject/Runtime/Stub/ReturnReference.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 1
ReturnSelf final class PHPUnit\Framework\MockObject\Stub vendor/phpunit/phpunit/src/Framework/MockObject/Runtime/Stub/ReturnSelf.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 3
ReturnStatement class Peast\Syntax\Node vendor/mck89/peast/lib/Peast/Syntax/Node/ReturnStatement.php A node that represents the return statement inside functions. For example: return a + 1
ReturnStub final class PHPUnit\Framework\MockObject\Stub vendor/phpunit/phpunit/src/Framework/MockObject/Runtime/Stub/ReturnStub.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 3
ReturnTagValueNode class PHPStan\PhpDocParser\Ast\PhpDoc vendor/phpstan/phpdoc-parser/src/Ast/PhpDoc/ReturnTagValueNode.php 6
ReturnTypeDeclarationSniff class PHP_CodeSniffer\Standards\PSR12\Sniffs\Functions vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Sniffs/Functions/ReturnTypeDeclarationSniff.php
ReturnTypeHintSniff class SlevomatCodingStandard\Sniffs\TypeHints vendor/slevomat/coding-standard/SlevomatCodingStandard/Sniffs/TypeHints/ReturnTypeHintSniff.php
ReturnTypeHintSpacingSniff class SlevomatCodingStandard\Sniffs\TypeHints vendor/slevomat/coding-standard/SlevomatCodingStandard/Sniffs/TypeHints/ReturnTypeHintSpacingSniff.php

Pagination

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