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
Registry class OpenTelemetry\SDK vendor/open-telemetry/sdk/Registry.php A registry to enable central registration of components that the SDK requires but which may be provided by non-SDK modules, such as contrib and extension. @todo [breaking] deprecate this mechanism of setting up components, in favor of using SPI. 10
Registry final class PHPUnit\TextUI\Configuration vendor/phpunit/phpunit/src/TextUI/Configuration/Registry.php CLI options and XML configuration are static within a single PHPUnit process. It is therefore okay to use a Singleton registry here. 10
Registry final class PHPUnit\Metadata\Annotation\Parser vendor/phpunit/phpunit/src/Metadata/Parser/Annotation/Registry.php Reflection information, and therefore DocBlock information, is static within a single PHP process. It is therefore okay to use a Singleton registry here. 1
RegistryRegistration final class OpenTelemetry\SDK\Metrics\MetricRegistration vendor/open-telemetry/sdk/Metrics/MetricRegistration/RegistryRegistration.php @internal 1
RegularExpression final class PHPUnit\Framework\Constraint vendor/phpunit/phpunit/src/Framework/Constraint/String/RegularExpression.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 2
ReindexConfirm class Drupal\search\Form core/modules/search/src/Form/ReindexConfirm.php Provides the search reindex confirmation form. 1
ReIndexInstaller class Composer\Installers vendor/composer/installers/src/Composer/Installers/ReIndexInstaller.php
ReinstallCommand class Composer\Command vendor/composer/composer/src/Composer/Command/ReinstallCommand.php @author Jordi Boggiano <j.boggiano@seld.be>
RejectedPromise class GuzzleHttp\Promise vendor/guzzlehttp/promises/src/RejectedPromise.php A promise that has been rejected.
RejectedPromise final class React\Promise\Internal vendor/react/promise/src/Internal/RejectedPromise.php @internal 2
RejectedPromise final class Http\Promise vendor/php-http/promise/src/RejectedPromise.php A rejected promise.
RejectionException class GuzzleHttp\Promise vendor/guzzlehttp/promises/src/RejectionException.php A special exception that is thrown when waiting on a rejected promise. 2
RelatedPart final class Symfony\Component\Mime\Part\Multipart vendor/symfony/mime/Part/Multipart/RelatedPart.php @author Fabien Potencier <fabien@symfony.com> 2
Relationship class Drupal\jsonapi\JsonApiResource core/modules/jsonapi/src/JsonApiResource/Relationship.php Represents references from one resource object to other resource object(s). 3
RelationshipData class Drupal\jsonapi\JsonApiResource core/modules/jsonapi/src/JsonApiResource/RelationshipData.php Represents the data of a relationship object or relationship document.
RelationshipNormalizer class Drupal\jsonapi\Normalizer core/modules/jsonapi/src/Normalizer/RelationshipNormalizer.php Normalizes a JSON:API relationship object. 2
RelationshipPluginBase abstract class Drupal\views\Plugin\views\relationship core/modules/views/src/Plugin/views/relationship/RelationshipPluginBase.php Relationship plugin base. 5 1
RelationshipRouteAccessCheck final class Drupal\jsonapi\Access core/modules/jsonapi/src/Access/RelationshipRouteAccessCheck.php Defines a class to check access to related and relationship routes. 1 2
Relative class PhpParser\Node\Name vendor/nikic/php-parser/lib/PhpParser/Node/Name/Relative.php
RelativePathCalculator final class PHPUnit\Runner\Baseline vendor/phpunit/phpunit/src/Runner/Baseline/RelativePathCalculator.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
ReliableQueueInterface interface Drupal\Core\Queue core/lib/Drupal/Core/Queue/ReliableQueueInterface.php Reliable queue interface. 1
RemoteAddressSniff class Drupal\Sniffs\Semantics vendor/drupal/coder/coder_sniffer/Drupal/Sniffs/Semantics/RemoteAddressSniff.php Make sure that ip_address() or Drupal::request()->getClientIp() is used instead of $_SERVER['REMOTE_ADDR'].
RemoteFilesystem class Composer\Util vendor/composer/composer/src/Composer/Util/RemoteFilesystem.php @internal @author François Pluchino <francois.pluchino@opendisplay.com> @author Jordi Boggiano <j.boggiano@seld.be> @author Nils Adermann <naderman@naderman.de>
RemovableCacheInterface interface Twig\Cache vendor/twig/twig/src/Cache/RemovableCacheInterface.php @author Fabien Potencier <fabien@symfony.com> 3 1
RemoveAbstractDefinitionsPass class Symfony\Component\DependencyInjection\Compiler vendor/symfony/dependency-injection/Compiler/RemoveAbstractDefinitionsPass.php Removes abstract Definitions.
RemoveBeStrictAboutResourceUsageDuringSmallTestsAttribute final class PHPUnit\TextUI\XmlConfiguration vendor/phpunit/phpunit/src/TextUI/Configuration/Xml/Migration/Migrations/RemoveBeStrictAboutResourceUsageDuringSmallTestsAttribute.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
RemoveBeStrictAboutTodoAnnotatedTestsAttribute final class PHPUnit\TextUI\XmlConfiguration vendor/phpunit/phpunit/src/TextUI/Configuration/Xml/Migration/Migrations/RemoveBeStrictAboutTodoAnnotatedTestsAttribute.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
RemoveBlockForm class Drupal\layout_builder\Form core/modules/layout_builder/src/Form/RemoveBlockForm.php Provides a form to confirm the removal of a block. 1
RemoveBuildParametersPass class Symfony\Component\DependencyInjection\Compiler vendor/symfony/dependency-injection/Compiler/RemoveBuildParametersPass.php 1
RemoveCacheResultFileAttribute final class PHPUnit\TextUI\XmlConfiguration vendor/phpunit/phpunit/src/TextUI/Configuration/Xml/Migration/Migrations/RemoveCacheResultFileAttribute.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
RemoveCacheTokensAttribute final class PHPUnit\TextUI\XmlConfiguration vendor/phpunit/phpunit/src/TextUI/Configuration/Xml/Migration/Migrations/RemoveCacheTokensAttribute.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
RemoveCheckToStringNodeVisitor final class Drupal\Core\Template core/lib/Drupal/Core/Template/RemoveCheckToStringNodeVisitor.php Defines a TwigNodeVisitor that replaces CheckToStringNodes.
RemoveCommand class Composer\Command vendor/composer/composer/src/Composer/Command/RemoveCommand.php @author Pierre du Plessis <pdples@gmail.com> @author Jordi Boggiano <j.boggiano@seld.be>
RemoveCommand class Drupal\Core\Ajax core/lib/Drupal/Core/Ajax/RemoveCommand.php AJAX command for calling the jQuery remove() method. 1
RemoveConversionToExceptionsAttributes final class PHPUnit\TextUI\XmlConfiguration vendor/phpunit/phpunit/src/TextUI/Configuration/Xml/Migration/Migrations/RemoveConversionToExceptionsAttributes.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
RemoveCoverageElementCacheDirectoryAttribute final class PHPUnit\TextUI\XmlConfiguration vendor/phpunit/phpunit/src/TextUI/Configuration/Xml/Migration/Migrations/RemoveCoverageElementCacheDirectoryAttribute.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
RemoveCoverageElementProcessUncoveredFilesAttribute final class PHPUnit\TextUI\XmlConfiguration vendor/phpunit/phpunit/src/TextUI/Configuration/Xml/Migration/Migrations/RemoveCoverageElementProcessUncoveredFilesAttribute.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
RemovedPostUpdateNameException class Drupal\Core\Update core/lib/Drupal/Core/Update/RemovedPostUpdateNameException.php An exception thrown for removed post-update functions.
RemoveEmptyControllerArgumentLocatorsPass class Symfony\Component\HttpKernel\DependencyInjection vendor/symfony/http-kernel/DependencyInjection/RemoveEmptyControllerArgumentLocatorsPass.php Removes empty service-locators registered for ServiceValueResolver.
RemoveEmptyFilter final class PHPUnit\TextUI\XmlConfiguration vendor/phpunit/phpunit/src/TextUI/Configuration/Xml/Migration/Migrations/RemoveEmptyFilter.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
RemoveListeners final class PHPUnit\TextUI\XmlConfiguration vendor/phpunit/phpunit/src/TextUI/Configuration/Xml/Migration/Migrations/RemoveListeners.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
RemoveLoggingElements final class PHPUnit\TextUI\XmlConfiguration vendor/phpunit/phpunit/src/TextUI/Configuration/Xml/Migration/Migrations/RemoveLoggingElements.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
RemoveLogTypes final class PHPUnit\TextUI\XmlConfiguration vendor/phpunit/phpunit/src/TextUI/Configuration/Xml/Migration/Migrations/RemoveLogTypes.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
RemoveNoInteractionAttribute final class PHPUnit\TextUI\XmlConfiguration vendor/phpunit/phpunit/src/TextUI/Configuration/Xml/Migration/Migrations/RemoveNoInteractionAttribute.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
RemovePrinterAttributes final class PHPUnit\TextUI\XmlConfiguration vendor/phpunit/phpunit/src/TextUI/Configuration/Xml/Migration/Migrations/RemovePrinterAttributes.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
RemovePrivateAliasesPass class Symfony\Component\DependencyInjection\Compiler vendor/symfony/dependency-injection/Compiler/RemovePrivateAliasesPass.php Remove private aliases from the container. They were only used to establish dependencies between services, and these dependencies have been resolved in one of the previous passes.
RemoveRoleUser class Drupal\user\Plugin\Action core/modules/user/src/Plugin/Action/RemoveRoleUser.php Removes a role from a user.
RemoveSectionForm class Drupal\layout_builder\Form core/modules/layout_builder/src/Form/RemoveSectionForm.php Provides a form to confirm the removal of a section. 1
RemoveTestDoxGroupsElement final class PHPUnit\TextUI\XmlConfiguration vendor/phpunit/phpunit/src/TextUI/Configuration/Xml/Migration/Migrations/RemoveTestDoxGroupsElement.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
RemoveTestSuiteLoaderAttributes final class PHPUnit\TextUI\XmlConfiguration vendor/phpunit/phpunit/src/TextUI/Configuration/Xml/Migration/Migrations/RemoveTestSuiteLoaderAttributes.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit

Pagination

  • First page
  • Previous page
  • …
  • Page 152
  • Page 153
  • Page 154
  • Page 155
  • Page 156
  • Page 157
  • Page 158
  • Page 159
  • Page 160
  • …
  • Next page
  • Last page
RSS feed
Powered by Drupal