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
Runner class PHP_CodeSniffer vendor/squizlabs/php_codesniffer/src/Runner.php 1
RunProcessContext final class Symfony\Component\Process\Messenger vendor/symfony/process/Messenger/RunProcessContext.php @author Kevin Bond <kevinbond@gmail.com> 1
RunProcessFailedException final class Symfony\Component\Process\Exception vendor/symfony/process/Exception/RunProcessFailedException.php @author Kevin Bond <kevinbond@gmail.com> 1
RunProcessMessage class Symfony\Component\Process\Messenger vendor/symfony/process/Messenger/RunProcessMessage.php @author Kevin Bond <kevinbond@gmail.com>
RunProcessMessageHandler final class Symfony\Component\Process\Messenger vendor/symfony/process/Messenger/RunProcessMessageHandler.php @author Kevin Bond <kevinbond@gmail.com>
RunScriptCommand class Composer\Command vendor/composer/composer/src/Composer/Command/RunScriptCommand.php @author Fabien Potencier <fabien.potencier@gmail.com>
RunTestsInSeparateProcesses final class PHPUnit\Metadata vendor/phpunit/phpunit/src/Metadata/RunTestsInSeparateProcesses.php @psalm-immutable
RunTestsInSeparateProcesses final class PHPUnit\Framework\Attributes vendor/phpunit/phpunit/src/Framework/Attributes/RunTestsInSeparateProcesses.php @psalm-immutable 1
Runtime class Composer\Platform vendor/composer/composer/src/Composer/Platform/Runtime.php 1
Runtime final class SebastianBergmann\Environment vendor/sebastian/environment/src/Runtime.php 6
Runtime final class PHPUnit\Event\Runtime vendor/phpunit/phpunit/src/Event/Value/Runtime/Runtime.php @psalm-immutable 1
RuntimeError class Twig\Error vendor/twig/twig/src/Error/RuntimeError.php Exception thrown when an error occurs at runtime. 6
RuntimeException class PhpTuf\ComposerStager\API\Exception vendor/php-tuf/composer-stager/src/API/Exception/RuntimeException.php This exception is thrown if an error occurs that can only be found at runtime. 7
RuntimeException class Symfony\Component\Routing\Exception vendor/symfony/routing/Exception/RuntimeException.php 4
RuntimeException class Symfony\Component\Mailer\Exception vendor/symfony/mailer/Exception/RuntimeException.php @author Fabien Potencier <fabien@symfony.com> 2 2
RuntimeException class Symfony\Component\Console\Exception vendor/symfony/console/Exception/RuntimeException.php @author Jérôme Tamarelle <jerome@tamarelle.net> 3 9
RuntimeException class Symfony\Component\Yaml\Exception vendor/symfony/yaml/Exception/RuntimeException.php Exception class thrown when an error occurs during parsing. 3
RuntimeException final class PHPUnit\Event vendor/phpunit/phpunit/src/Event/Exception/RuntimeException.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 1 3
RuntimeException final class PHPUnit\Framework\MockObject\Generator vendor/phpunit/phpunit/src/Framework/MockObject/Generator/Exception/RuntimeException.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 1
RuntimeException class Symfony\Component\String\Exception vendor/symfony/string/Exception/RuntimeException.php 1 3
RuntimeException class JsonSchema\Exception vendor/justinrainbow/json-schema/src/JsonSchema/Exception/RuntimeException.php Wrapper for the RuntimeException 8 2
RuntimeException final class SebastianBergmann\LinesOfCode vendor/sebastian/lines-of-code/src/Exception/RuntimeException.php 1
RuntimeException final class SebastianBergmann\Comparator vendor/sebastian/comparator/src/exceptions/RuntimeException.php 1
RuntimeException final class SebastianBergmann\Template vendor/phpunit/php-text-template/src/exceptions/RuntimeException.php
RuntimeException class Symfony\Component\DependencyInjection\Exception vendor/symfony/dependency-injection/Exception/RuntimeException.php Base RuntimeException for Dependency Injection component. 4 36
RuntimeException final class SebastianBergmann\Type vendor/sebastian/type/src/exception/RuntimeException.php 1
RuntimeException class Symfony\Component\Validator\Exception vendor/symfony/validator/Exception/RuntimeException.php Base RuntimeException for the Validator component. 3 3
RuntimeException class Symfony\Component\Process\Exception vendor/symfony/process/Exception/RuntimeException.php RuntimeException for the Process Component. 5 7
RuntimeException final class PHPUnit\Framework\MockObject vendor/phpunit/phpunit/src/Framework/MockObject/Exception/RuntimeException.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 1 1
RuntimeException class Symfony\Component\Mime\Exception vendor/symfony/mime/Exception/RuntimeException.php @author Fabien Potencier <fabien@symfony.com> 1 7
RuntimeException final class PHPUnit\TextUI vendor/phpunit/phpunit/src/TextUI/Exception/RuntimeException.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 1 2
RuntimeException class PHP_CodeSniffer\Exceptions vendor/squizlabs/php_codesniffer/src/Exceptions/RuntimeException.php 12
RuntimeException class Symfony\Component\Serializer\Exception vendor/symfony/serializer/Exception/RuntimeException.php RuntimeException. 5 5
RuntimeException final class SebastianBergmann\Complexity vendor/sebastian/complexity/src/Exception/RuntimeException.php 1
RuntimeException class Symfony\Component\Filesystem\Exception vendor/symfony/filesystem/Exception/RuntimeException.php @author Théo Fidry <theo.fidry@gmail.com> 2 1
RuntimeException class Symfony\Component\BrowserKit\Exception vendor/symfony/browser-kit/Exception/RuntimeException.php 1 1
RuntimeException final class SebastianBergmann\GlobalState vendor/sebastian/global-state/src/exceptions/RuntimeException.php 1
RuntimeExtensionInterface interface Twig\Extension vendor/twig/twig/src/Extension/RuntimeExtensionInterface.php @author Grégoire Pineau <lyrixx@lyrixx.info> 1 1
RuntimeLoaderInterface interface Twig\RuntimeLoader vendor/twig/twig/src/RuntimeLoader/RuntimeLoaderInterface.php Creates runtime implementations for Twig elements (filters/functions/tests). 2 2
SafeAnalysisNodeVisitor final class Twig\NodeVisitor vendor/twig/twig/src/NodeVisitor/SafeAnalysisNodeVisitor.php @internal
SameasTest class Twig\Node\Expression\Test vendor/twig/twig/src/Node/Expression/Test/SameasTest.php Checks if a variable is the same as another one (=== in PHP). 1
SameSize final class PHPUnit\Framework\Constraint vendor/phpunit/phpunit/src/Framework/Constraint/Cardinality/SameSize.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 1
SampleEntityGeneratorInterface interface Drupal\layout_builder\Entity core/modules/layout_builder/src/Entity/SampleEntityGeneratorInterface.php Generates a sample entity. 1 1
SamplerFactory class OpenTelemetry\SDK\Trace vendor/open-telemetry/sdk/Trace/SamplerFactory.php 1
SamplerInterface interface OpenTelemetry\SDK\Trace vendor/open-telemetry/sdk/Trace/SamplerInterface.php This interface is used to organize sampling logic. 4 4
SamplingResult final class OpenTelemetry\SDK\Trace vendor/open-telemetry/sdk/Trace/SamplingResult.php 4
SandboxExtension final class Twig\Extension vendor/twig/twig/src/Extension/SandboxExtension.php 2
SandboxNode class Twig\Node vendor/twig/twig/src/Node/SandboxNode.php Represents a sandbox node. 1
SandboxNodeVisitor final class Twig\NodeVisitor vendor/twig/twig/src/NodeVisitor/SandboxNodeVisitor.php @author Fabien Potencier <fabien@symfony.com> 1
SandboxTokenParser final class Twig\TokenParser vendor/twig/twig/src/TokenParser/SandboxTokenParser.php Marks a section of a template as untrusted code that must be evaluated in the sandbox mode. 1

Pagination

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