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
BatchBuilder class Drupal\Core\Batch core/lib/Drupal/Core/Batch/BatchBuilder.php Builds an array for a batch process. 15
BatchController class Drupal\system\Controller core/modules/system/src/Controller/BatchController.php Controller routines for batch routes.
BatchLogRecordProcessor class OpenTelemetry\SDK\Logs\Processor vendor/open-telemetry/sdk/Logs/Processor/BatchLogRecordProcessor.php 1
BatchMemory class Drupal\Core\Queue core/lib/Drupal/Core/Queue/BatchMemory.php Defines a batch queue handler.
BatchNegotiator class Drupal\system\Theme core/modules/system/src/Theme/BatchNegotiator.php Sets the active theme for the batch page. 2
BatchSpanProcessor class OpenTelemetry\SDK\Trace\SpanProcessor vendor/open-telemetry/sdk/Trace/SpanProcessor/BatchSpanProcessor.php 1
BatchSpanProcessorBuilder class OpenTelemetry\SDK\Trace\SpanProcessor vendor/open-telemetry/sdk/Trace/SpanProcessor/BatchSpanProcessorBuilder.php
BatchStorage class Drupal\Core\Batch core/lib/Drupal/Core/Batch/BatchStorage.php
BatchStorage class Drupal\Core\ProxyClass\Batch core/lib/Drupal/Core/ProxyClass/Batch/BatchStorage.php Provides a proxy class for \Drupal\Core\Batch\BatchStorage.
BatchStorageInterface interface Drupal\Core\Batch core/lib/Drupal/Core/Batch/BatchStorageInterface.php Defines a common interface for batch storage operations. 2 3
BcMathCalculator class Brick\Math\Internal\Calculator vendor/brick/math/src/Internal/Calculator/BcMathCalculator.php Calculator implementation built around the bcmath library.
BcRoute class Drupal\Core\Routing core/lib/Drupal/Core/Routing/BcRoute.php A backwards compatibility route.
Before final class PHPUnit\Metadata vendor/phpunit/phpunit/src/Metadata/Before.php @psalm-immutable
Before final class PHPUnit\Framework\Attributes vendor/phpunit/phpunit/src/Framework/Attributes/Before.php @psalm-immutable 1
BeforeClass final class PHPUnit\Metadata vendor/phpunit/phpunit/src/Metadata/BeforeClass.php @psalm-immutable
BeforeClass final class PHPUnit\Framework\Attributes vendor/phpunit/phpunit/src/Framework/Attributes/BeforeClass.php @psalm-immutable 2
BeforeCommand class Drupal\Core\Ajax core/lib/Drupal/Core/Ajax/BeforeCommand.php An AJAX command for calling the jQuery before() method.
BeforeFirstTestMethodCalled final class PHPUnit\Event\Test vendor/phpunit/phpunit/src/Event/Events/Test/HookMethod/BeforeFirstTestMethodCalled.php @psalm-immutable
BeforeFirstTestMethodCalledSubscriber interface PHPUnit\Event\Test vendor/phpunit/phpunit/src/Event/Events/Test/HookMethod/BeforeFirstTestMethodCalledSubscriber.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
BeforeFirstTestMethodErrored final class PHPUnit\Event\Test vendor/phpunit/phpunit/src/Event/Events/Test/HookMethod/BeforeFirstTestMethodErrored.php @psalm-immutable 5
BeforeFirstTestMethodErroredSubscriber interface PHPUnit\Event\Test vendor/phpunit/phpunit/src/Event/Events/Test/HookMethod/BeforeFirstTestMethodErroredSubscriber.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 2 2
BeforeFirstTestMethodFinished final class PHPUnit\Event\Test vendor/phpunit/phpunit/src/Event/Events/Test/HookMethod/BeforeFirstTestMethodFinished.php @psalm-immutable
BeforeFirstTestMethodFinishedSubscriber interface PHPUnit\Event\Test vendor/phpunit/phpunit/src/Event/Events/Test/HookMethod/BeforeFirstTestMethodFinishedSubscriber.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
BeforeTestClassMethodErroredSubscriber final class PHPUnit\TestRunner\TestResult vendor/phpunit/phpunit/src/Runner/TestResult/Subscriber/BeforeTestClassMethodErroredSubscriber.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
BeforeTestClassMethodErroredSubscriber final class PHPUnit\TextUI\Output\Default\ProgressPrinter vendor/phpunit/phpunit/src/TextUI/Output/Default/ProgressPrinter/Subscriber/BeforeTestClassMethodErroredSubscriber.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
BeforeTestMethodCalled final class PHPUnit\Event\Test vendor/phpunit/phpunit/src/Event/Events/Test/HookMethod/BeforeTestMethodCalled.php @psalm-immutable
BeforeTestMethodCalledSubscriber interface PHPUnit\Event\Test vendor/phpunit/phpunit/src/Event/Events/Test/HookMethod/BeforeTestMethodCalledSubscriber.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
BeforeTestMethodFinished final class PHPUnit\Event\Test vendor/phpunit/phpunit/src/Event/Events/Test/HookMethod/BeforeTestMethodFinished.php @psalm-immutable
BeforeTestMethodFinishedSubscriber interface PHPUnit\Event\Test vendor/phpunit/phpunit/src/Event/Events/Test/HookMethod/BeforeTestMethodFinishedSubscriber.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
Beginner final class PhpTuf\ComposerStager\Internal\Core vendor/php-tuf/composer-stager/src/Internal/Core/Beginner.php @package Core 2
BeginnerInterface interface PhpTuf\ComposerStager\API\Core vendor/php-tuf/composer-stager/src/API/Core/BeginnerInterface.php Begins the staging process by copying the active directory to the staging directory. 2 4 1
BeginnerPreconditions final class PhpTuf\ComposerStager\Internal\Precondition\Service vendor/php-tuf/composer-stager/src/Internal/Precondition/Service/BeginnerPreconditions.php @package Precondition 2
BeginnerPreconditionsInterface interface PhpTuf\ComposerStager\API\Precondition\Service vendor/php-tuf/composer-stager/src/API/Precondition/Service/BeginnerPreconditionsInterface.php Asserts the preconditions for the beginner. 1 2
Bic class Symfony\Component\Validator\Constraints vendor/symfony/validator/Constraints/Bic.php Ensures that the value is valid against the BIC format.
BicValidator class Symfony\Component\Validator\Constraints vendor/symfony/validator/Constraints/BicValidator.php @author Michael Hirschler <michael.vhirsch@gmail.com>
BigDecimal final class Brick\Math vendor/brick/math/src/BigDecimal.php Immutable, arbitrary-precision signed decimal numbers. 1
BigInteger final class Brick\Math vendor/brick/math/src/BigInteger.php An arbitrary-size integer. 3
BigIntLiteral class Peast\Syntax\Node vendor/mck89/peast/lib/Peast/Syntax/Node/BigIntLiteral.php A node that represents a BigInt literal.
BigNumber abstract class Brick\Math vendor/brick/math/src/BigNumber.php Common interface for arbitrary-precision rational numbers. 3
BigNumberConverter

Transition to {

class Ramsey\Uuid\Converter\Number vendor/ramsey/uuid/src/Converter/Number/BigNumberConverter.php Previously used to integrate moontoast/math as a bignum arithmetic library, BigNumberConverter is deprecated in favor of GenericNumberConverter 1
BigNumberTimeConverter

Transition to {

class Ramsey\Uuid\Converter\Time vendor/ramsey/uuid/src/Converter/Time/BigNumberTimeConverter.php Previously used to integrate moontoast/math as a bignum arithmetic library, BigNumberTimeConverter is deprecated in favor of GenericTimeConverter 1
BigPipe class Drupal\big_pipe\Render core/modules/big_pipe/src/Render/BigPipe.php Service for sending an HTML response in chunks (to get faster page loads). 1 2
BigPipeController class Drupal\big_pipe\Controller core/modules/big_pipe/src/Controller/BigPipeController.php Returns responses for BigPipe module routes.
BigPipeHooks class Drupal\big_pipe\Hook core/modules/big_pipe/src/Hook/BigPipeHooks.php Hook implementations for big_pipe.
BigPipeMarkup final class Drupal\big_pipe\Render core/modules/big_pipe/src/Render/BigPipeMarkup.php Defines an object that passes safe strings through BigPipe's render pipeline.
BigPipeResponse class Drupal\big_pipe\Render core/modules/big_pipe/src/Render/BigPipeResponse.php A response that is sent in chunks by the BigPipe service. 2
BigPipeResponseAttachmentsProcessor class Drupal\big_pipe\Render core/modules/big_pipe/src/Render/BigPipeResponseAttachmentsProcessor.php Processes attachments of HTML responses with BigPipe enabled. 2
BigPipeStrategy class Drupal\big_pipe\Render\Placeholder core/modules/big_pipe/src/Render/Placeholder/BigPipeStrategy.php Defines the BigPipe placeholder strategy, to send HTML in chunks. 2 2
BigRational final class Brick\Math vendor/brick/math/src/BigRational.php An arbitrarily large rational number.
BinaryData class Drupal\Core\TypedData\Plugin\DataType core/lib/Drupal/Core/TypedData/Plugin/DataType/BinaryData.php The binary data type.

Pagination

  • First page
  • Previous page
  • …
  • Page 10
  • Page 11
  • Page 12
  • Page 13
  • Page 14
  • Page 15
  • Page 16
  • Page 17
  • Page 18
  • …
  • Next page
  • Last page

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal