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
Routes class Drupal\jsonapi\Routing core/modules/jsonapi/src/Routing/Routes.php Defines dynamic routes. 8
RouteSubscriber class Drupal\views\EventSubscriber core/modules/views/src/EventSubscriber/RouteSubscriber.php Builds up the routes of all views. 2
RouteSubscriber class Drupal\workspaces_ui\Routing core/modules/workspaces_ui/src/Routing/RouteSubscriber.php Subscriber for Workspaces routes. 2
RouteSubscriber class Drupal\config_translation\Routing core/modules/config_translation/src/Routing/RouteSubscriber.php Listens to the dynamic route events. 2
RouteSubscriber class Drupal\block_content\Routing core/modules/block_content/src/Routing/RouteSubscriber.php Subscriber for Block content BC routes. 2
RouteSubscriber class Drupal\media_library\Routing core/modules/media_library/src/Routing/RouteSubscriber.php Subscriber for media library routes. 2
RouteSubscriber class Drupal\node\Routing core/modules/node/src/Routing/RouteSubscriber.php Listens to the dynamic route events. 2
RouteSubscriber class Drupal\field_ui\Routing core/modules/field_ui/src/Routing/RouteSubscriber.php Subscriber for Field UI routes. 2
RouteSubscriberBase abstract class Drupal\Core\Routing core/lib/Drupal/Core/Routing/RouteSubscriberBase.php Provides a base implementation for RouteSubscriber. 16 16
RouteTrait trait Symfony\Component\Routing\Loader\Configurator\Traits vendor/symfony/routing/Loader/Configurator/Traits/RouteTrait.php
RoutingAccessSniff class DrupalPractice\Sniffs\Yaml vendor/drupal/coder/coder_sniffer/DrupalPractice/Sniffs/Yaml/RoutingAccessSniff.php Checks that there are no undocumented open access callbacks in *.routing.yml files.
RoutingConfigurator class Symfony\Component\Routing\Loader\Configurator vendor/symfony/routing/Loader/Configurator/RoutingConfigurator.php @author Nicolas Grekas <p@tchwork.com> 1
RoutingEvents final class Drupal\Core\Routing core/lib/Drupal/Core/Routing/RoutingEvents.php Contains all events thrown in the core routing component. 21
RoutingResolverPass class Symfony\Component\Routing\DependencyInjection vendor/symfony/routing/DependencyInjection/RoutingResolverPass.php Adds tagged routing.loader services to routing.resolver service.
Row class Drupal\migrate core/modules/migrate/src/Row.php Stores a row. 177
RowCountException class Drupal\Core\Database core/lib/Drupal/Core/Database/RowCountException.php Exception thrown if a SELECT query trying to execute rowCount() on result.
RowPluginBase abstract class Drupal\views\Plugin\views\row core/modules/views/src/Plugin/views/row/RowPluginBase.php Base class for Views row plugins. 8 3
Rss class Drupal\comment\Plugin\views\row core/modules/comment/src/Plugin/views/row/Rss.php Plugin which formats the comments as RSS items.
Rss class Drupal\node\Plugin\views\row core/modules/node/src/Plugin/views/row/Rss.php Performs a node_view on the resulting object and formats it as an RSS item.
Rss class Drupal\views\Plugin\views\style core/modules/views/src/Plugin/views/style/Rss.php Default style plugin to render an RSS feed.
RSSEnclosureFormatter class Drupal\file\Plugin\Field\FieldFormatter core/modules/file/src/Plugin/Field/FieldFormatter/RSSEnclosureFormatter.php Plugin implementation of the 'file_rss_enclosure' formatter.
RssFeedsForm class Drupal\system\Form core/modules/system/src/Form/RssFeedsForm.php Configure RSS settings for this site. 1
RssFields class Drupal\views\Plugin\views\row core/modules/views/src/Plugin/views/row/RssFields.php Renders an RSS item based on fields.
RssPluginBase abstract class Drupal\views\Plugin\views\row core/modules/views/src/Plugin/views/row/RssPluginBase.php Base class for Views RSS row plugins. 2 2
RssResponseCdata class Drupal\Core\EventSubscriber core/lib/Drupal/Core/EventSubscriber/RssResponseCdata.php Subscribes to wrap RSS descriptions in CDATA.
RssResponseRelativeUrlFilter class Drupal\Core\EventSubscriber core/lib/Drupal/Core/EventSubscriber/RssResponseRelativeUrlFilter.php Subscribes to filter RSS responses, to make relative URIs absolute.
RsyncIsAvailable final class PhpTuf\ComposerStager\Internal\Precondition\Service vendor/php-tuf/composer-stager/src/Internal/Precondition/Service/RsyncIsAvailable.php @package Precondition 2
RsyncIsAvailableInterface interface PhpTuf\ComposerStager\API\Precondition\Service vendor/php-tuf/composer-stager/src/API/Precondition/Service/RsyncIsAvailableInterface.php Asserts that rsync is available on the host. 1 2
RsyncProcessRunner final class PhpTuf\ComposerStager\Internal\Process\Service vendor/php-tuf/composer-stager/src/Internal/Process/Service/RsyncProcessRunner.php Before using this class outside the internal layer, consider a higher-level abstraction, e.g.: 2
RsyncProcessRunnerInterface interface PhpTuf\ComposerStager\API\Process\Service vendor/php-tuf/composer-stager/src/API/Process/Service/RsyncProcessRunnerInterface.php Runs rsync commands. 1 2
RsyncValidator final class Drupal\package_manager\Validator core/modules/package_manager/src/Validator/RsyncValidator.php Checks that rsync is available.
Rule abstract class Composer\DependencyResolver vendor/composer/composer/src/Composer/DependencyResolver/Rule.php @author Nils Adermann <naderman@naderman.de> @author Ruben Gonzalez <rubenrua@gmail.com> @phpstan-type ReasonData Link|BasePackage|string|int|array{packageName: string, constraint: ConstraintInterface}|array{package: BasePackage} 3 1
Rule2Literals class Composer\DependencyResolver vendor/composer/composer/src/Composer/DependencyResolver/Rule2Literals.php @author Nils Adermann <naderman@naderman.de> @phpstan-import-type ReasonData from Rule
RuleReasonDataReturnTypeExtension final class Composer\PHPStan vendor/composer/composer/src/Composer/PHPStan/RuleReasonDataReturnTypeExtension.php
RuleSet class Composer\DependencyResolver vendor/composer/composer/src/Composer/DependencyResolver/RuleSet.php @author Nils Adermann <naderman@naderman.de> @implements \IteratorAggregate<Rule> @internal @final
Ruleset class PHP_CodeSniffer vendor/squizlabs/php_codesniffer/src/Ruleset.php 7
RuleSetGenerator class Composer\DependencyResolver vendor/composer/composer/src/Composer/DependencyResolver/RuleSetGenerator.php @author Nils Adermann <naderman@naderman.de> @phpstan-import-type ReasonData from Rule
RuleSetIterator class Composer\DependencyResolver vendor/composer/composer/src/Composer/DependencyResolver/RuleSetIterator.php @author Nils Adermann <naderman@naderman.de> @implements \Iterator<RuleSet::TYPE_*|-1, Rule>
RulesInterface interface Masterminds\HTML5\Serializer vendor/masterminds/html5/src/HTML5/Serializer/RulesInterface.php To create a new rule set for writing output the RulesInterface needs to be implemented. The resulting class can be specified in the options with the key of rules. 1
RuleWatchChain class Composer\DependencyResolver vendor/composer/composer/src/Composer/DependencyResolver/RuleWatchChain.php An extension of SplDoublyLinkedList with seek and removal of current element
RuleWatchGraph class Composer\DependencyResolver vendor/composer/composer/src/Composer/DependencyResolver/RuleWatchGraph.php The RuleWatchGraph efficiently propagates decisions to other rules
RuleWatchNode class Composer\DependencyResolver vendor/composer/composer/src/Composer/DependencyResolver/RuleWatchNode.php Wrapper around a Rule which keeps track of the two literals it watches
RunClassInSeparateProcess final class PHPUnit\Metadata vendor/phpunit/phpunit/src/Metadata/RunClassInSeparateProcess.php @psalm-immutable
RunClassInSeparateProcess final class PHPUnit\Framework\Attributes vendor/phpunit/phpunit/src/Framework/Attributes/RunClassInSeparateProcess.php @psalm-immutable 1
RunCommandContext final class Symfony\Component\Console\Messenger vendor/symfony/console/Messenger/RunCommandContext.php @author Kevin Bond <kevinbond@gmail.com> 1
RunCommandFailedException final class Symfony\Component\Console\Exception vendor/symfony/console/Exception/RunCommandFailedException.php @author Kevin Bond <kevinbond@gmail.com> 2
RunCommandMessage class Symfony\Component\Console\Messenger vendor/symfony/console/Messenger/RunCommandMessage.php @author Kevin Bond <kevinbond@gmail.com>
RunCommandMessageHandler final class Symfony\Component\Console\Messenger vendor/symfony/console/Messenger/RunCommandMessageHandler.php @author Kevin Bond <kevinbond@gmail.com>
RunInSeparateProcess final class PHPUnit\Framework\Attributes vendor/phpunit/phpunit/src/Framework/Attributes/RunInSeparateProcess.php @psalm-immutable 1
RunInSeparateProcess final class PHPUnit\Metadata vendor/phpunit/phpunit/src/Metadata/RunInSeparateProcess.php @psalm-immutable

Pagination

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