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
Recipe final class Drupal\Core\Recipe core/lib/Drupal/Core/Recipe/Recipe.php @internal This API is experimental. 1
RecipeAppliedEvent final class Drupal\Core\Recipe core/lib/Drupal/Core/Recipe/RecipeAppliedEvent.php Event dispatched after a recipe has been applied.
RecipeCommand final class Drupal\Core\Recipe core/lib/Drupal/Core/Recipe/RecipeCommand.php Applies recipe.
RecipeConfigInstaller final class Drupal\Core\Recipe core/lib/Drupal/Core/Recipe/RecipeConfigInstaller.php Extends the ConfigInstaller service for recipes.
RecipeConfigStorageWrapper final class Drupal\Core\Recipe core/lib/Drupal/Core/Recipe/RecipeConfigStorageWrapper.php Merges two storages together.
RecipeConfigurator final class Drupal\Core\Recipe core/lib/Drupal/Core/Recipe/RecipeConfigurator.php @internal This API is experimental.
RecipeFileException final class Drupal\Core\Recipe core/lib/Drupal/Core/Recipe/RecipeFileException.php @internal This API is experimental.
RecipeInfoCommand final class Drupal\Core\Recipe core/lib/Drupal/Core/Recipe/RecipeInfoCommand.php Shows information about a particular recipe.
RecipeInputFormTrait trait Drupal\Core\Recipe core/lib/Drupal/Core/Recipe/RecipeInputFormTrait.php Defines helper methods for forms which collect input on behalf of recipes.
RecipeMissingExtensionsException final class Drupal\Core\Recipe core/lib/Drupal/Core/Recipe/RecipeMissingExtensionsException.php Exception thrown when recipes contain or depend on missing extensions.
RecipeOverrideConfigStorage final class Drupal\Core\Recipe core/lib/Drupal/Core/Recipe/RecipeOverrideConfigStorage.php Wraps a config storage to allow recipe provided configuration to override it.
RecipePreExistingConfigException class Drupal\Core\Recipe core/lib/Drupal/Core/Recipe/RecipePreExistingConfigException.php Exception thrown when a recipe has configuration that exists already.
RecipeRunner final class Drupal\Core\Recipe core/lib/Drupal/Core/Recipe/RecipeRunner.php Applies a recipe. 1
Rectangle class Drupal\Component\Utility core/lib/Drupal/Component/Utility/Rectangle.php Rectangle rotation algebra class. 1
RecursiveContextualValidator class Symfony\Component\Validator\Validator vendor/symfony/validator/Validator/RecursiveContextualValidator.php Recursive implementation of {@link ContextualValidatorInterface}.
RecursiveContextualValidator class Drupal\Core\TypedData\Validation core/lib/Drupal/Core/TypedData/Validation/RecursiveContextualValidator.php Defines a recursive contextual validator for Typed Data.
RecursiveDirectoryIterator class Symfony\Component\Finder\Iterator vendor/symfony/finder/Iterator/RecursiveDirectoryIterator.php Extends the \RecursiveDirectoryIterator to support relative paths. 1
RecursiveExtensionFilterCallback class Drupal\Core\Extension\Discovery core/lib/Drupal/Core/Extension/Discovery/RecursiveExtensionFilterCallback.php Filters a RecursiveDirectoryIterator to discover extensions. 1
RecursiveExtensionFilterIterator class mglaman\PHPStanDrupal\Drupal vendor/mglaman/phpstan-drupal/src/Drupal/RecursiveExtensionFilterIterator.php Filters a RecursiveDirectoryIterator to discover extensions.
RecursiveValidator class Symfony\Component\Validator\Validator vendor/symfony/validator/Validator/RecursiveValidator.php Recursive implementation of {@link ValidatorInterface}. 2
RecursiveValidator class Drupal\Core\TypedData\Validation core/lib/Drupal/Core/TypedData/Validation/RecursiveValidator.php Defines a recursive validator for Typed Data. 2
RecursiveValidatorFactory class Drupal\file\Validation core/modules/file/src/Validation/RecursiveValidatorFactory.php Factory for creating a new RecursiveValidator. 2
Redaxo5Installer class Composer\Installers vendor/composer/installers/src/Composer/Installers/Redaxo5Installer.php
RedaxoInstaller class Composer\Installers vendor/composer/installers/src/Composer/Installers/RedaxoInstaller.php
RedirectableUrlMatcher abstract class Symfony\Component\Routing\Matcher vendor/symfony/routing/Matcher/RedirectableUrlMatcher.php @author Fabien Potencier <fabien@symfony.com>
RedirectableUrlMatcherInterface interface Symfony\Component\Routing\Matcher vendor/symfony/routing/Matcher/RedirectableUrlMatcherInterface.php RedirectableUrlMatcherInterface knows how to redirect the user. 1 1
RedirectCommand class Drupal\Core\Ajax core/lib/Drupal/Core/Ajax/RedirectCommand.php Defines an AJAX command to set the window.location, loading that URL. 2
RedirectDestination class Drupal\Core\Routing core/lib/Drupal/Core/Routing/RedirectDestination.php Provides helpers for redirect destinations.
RedirectDestinationInterface interface Drupal\Core\Routing core/lib/Drupal/Core/Routing/RedirectDestinationInterface.php Provides an interface for redirect destinations. 1 10
RedirectDestinationTrait trait Drupal\Core\Routing core/lib/Drupal/Core/Routing/RedirectDestinationTrait.php Wrapper methods for the Redirect Destination. 9
RedirectLeadingSlashesSubscriber class Drupal\Core\EventSubscriber core/lib/Drupal/Core/EventSubscriber/RedirectLeadingSlashesSubscriber.php Redirects paths containing successive slashes to those with single slashes.
RedirectMiddleware class GuzzleHttp vendor/guzzlehttp/guzzle/src/RedirectMiddleware.php Request redirect middleware.
RedirectResponse class Symfony\Component\HttpFoundation vendor/symfony/http-foundation/RedirectResponse.php RedirectResponse represents an HTTP response doing a redirect. 2 30
RedirectResponseSubscriber class Drupal\Core\EventSubscriber core/lib/Drupal/Core/EventSubscriber/RedirectResponseSubscriber.php Allows manipulation of the response object when performing a redirect. 1
RedisCaster class Symfony\Component\VarDumper\Caster vendor/symfony/var-dumper/Caster/RedisCaster.php Casts Redis class from ext-redis to array representation.
RedisSessionHandler class Symfony\Component\HttpFoundation\Session\Storage\Handler vendor/symfony/http-foundation/Session/Storage/Handler/RedisSessionHandler.php Redis based session storage handler based on the Redis class provided by the PHP redis extension.
RedisStore class Symfony\Component\Lock\Store vendor/symfony/lock/Store/RedisStore.php RedisStore is a PersistingStoreInterface implementation using Redis as store engine.
RedundantEditableConfigNamesTrait trait Drupal\Core\Form core/lib/Drupal/Core/Form/RedundantEditableConfigNamesTrait.php Implements ::getEditableConfigNames() for forms using #config_target. 5
Reference interface phpDocumentor\Reflection\DocBlock\Tags\Reference vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Reference/Reference.php Interface for references in { 2 1
Reference class Symfony\Component\VarExporter\Internal vendor/symfony/var-exporter/Internal/Reference.php @author Nicolas Grekas <p@tchwork.com>
Reference class Symfony\Component\DependencyInjection vendor/symfony/dependency-injection/Reference.php Reference represents a service reference. 1 79
ReferenceAccessConstraint class Drupal\Core\Entity\Plugin\Validation\Constraint core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/ReferenceAccessConstraint.php Entity Reference valid reference constraint.
ReferenceAccessConstraintValidator class Drupal\Core\Entity\Plugin\Validation\Constraint core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/ReferenceAccessConstraintValidator.php Checks if the current user has access to newly referenced entities.
ReferenceBase abstract class Drupal\migrate_drupal\Plugin\migrate\field core/modules/migrate_drupal/src/Plugin/migrate/field/ReferenceBase.php Base class for Drupal reference fields. 4 4
ReferenceConfigurator class Symfony\Component\DependencyInjection\Loader\Configurator vendor/symfony/dependency-injection/Loader/Configurator/ReferenceConfigurator.php @author Nicolas Grekas <p@tchwork.com> 1 3
ReferenceCounterInterface interface OpenTelemetry\SDK\Metrics vendor/open-telemetry/sdk/Metrics/ReferenceCounterInterface.php @internal 4 7
ReferencedName class SlevomatCodingStandard\Helpers vendor/slevomat/coding-standard/SlevomatCodingStandard/Helpers/ReferencedName.php @internal 6
ReferencedNameHelper class SlevomatCodingStandard\Helpers vendor/slevomat/coding-standard/SlevomatCodingStandard/Helpers/ReferencedNameHelper.php @internal 7
ReferenceSpacingSniff class SlevomatCodingStandard\Sniffs\PHP vendor/slevomat/coding-standard/SlevomatCodingStandard/Sniffs/PHP/ReferenceSpacingSniff.php
ReferenceThrowableOnlySniff class SlevomatCodingStandard\Sniffs\Exceptions vendor/slevomat/coding-standard/SlevomatCodingStandard/Sniffs/Exceptions/ReferenceThrowableOnlySniff.php

Pagination

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