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
BlockTheme class Drupal\block\Plugin\migrate\process core/modules/block/src/Plugin/migrate/process/BlockTheme.php
BlockTokenParser final class Twig\TokenParser vendor/twig/twig/src/TokenParser/BlockTokenParser.php Marks a section of a template as being reusable. 1
BlockTranslation class Drupal\block\Plugin\migrate\source\d6 core/modules/block/src/Plugin/migrate/source/d6/BlockTranslation.php Drupal 6 i18n block data from database.
BlockTranslation class Drupal\block\Plugin\migrate\source\d7 core/modules/block/src/Plugin/migrate/source/d7/BlockTranslation.php Drupal 7 i18n block data from database.
BlockTypeAccessControlHandler class Drupal\block_content core/modules/block_content/src/BlockTypeAccessControlHandler.php Defines the access control handler for the "Block Type" entity type. 1
BlockUser class Drupal\user\Plugin\Action core/modules/user/src/Plugin/Action/BlockUser.php Blocks a user.
BlockViewBuilder class Drupal\block core/modules/block/src/BlockViewBuilder.php Provides a Block view builder. 1
BlockVisibility class Drupal\block\Plugin\migrate\process core/modules/block/src/Plugin/migrate/process/BlockVisibility.php
BodyNode class Twig\Node vendor/twig/twig/src/Node/BodyNode.php Represents a body node. 3
BodyRendererInterface interface Symfony\Component\Mime vendor/symfony/mime/BodyRendererInterface.php @author Fabien Potencier <fabien@symfony.com> 2
BodySummarizer final class GuzzleHttp vendor/guzzlehttp/guzzle/src/BodySummarizer.php 1
BodySummarizerInterface interface GuzzleHttp vendor/guzzlehttp/guzzle/src/BodySummarizerInterface.php 1 1
BonefishInstaller class Composer\Installers vendor/composer/installers/src/Composer/Installers/BonefishInstaller.php
Boolean class Drupal\views\Plugin\views\field core/modules/views/src/Plugin/views/field/Boolean.php A handler to provide proper displays for booleans.
Boolean class phpDocumentor\Reflection\Types vendor/phpdocumentor/type-resolver/src/Types/Boolean.php Value Object representing a Boolean type. 2 3
BooleanAnd class PhpParser\Node\Expr\BinaryOp vendor/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/BooleanAnd.php 1
BooleanCheckboxWidget class Drupal\Core\Field\Plugin\Field\FieldWidget core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/BooleanCheckboxWidget.php Plugin implementation of the 'boolean_checkbox' widget.
BooleanData class Drupal\Core\TypedData\Plugin\DataType core/lib/Drupal/Core/TypedData/Plugin/DataType/BooleanData.php The boolean data type. 1
BooleanFormatter class Drupal\Core\Field\Plugin\Field\FieldFormatter core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/BooleanFormatter.php Plugin implementation of the 'boolean' formatter.
BooleanInterface interface Drupal\Core\TypedData\Type core/lib/Drupal/Core/TypedData/Type/BooleanInterface.php Interface for boolean data. 1 3
BooleanItem class Drupal\Core\Field\Plugin\Field\FieldType core/lib/Drupal/Core/Field/Plugin/Field/FieldType/BooleanItem.php Defines the 'boolean' entity field type. 1 1
BooleanLiteral class Peast\Syntax\Node vendor/mck89/peast/lib/Peast/Syntax/Node/BooleanLiteral.php A node that represents a boolean literal.
BooleanNot class PhpParser\Node\Expr vendor/nikic/php-parser/lib/PhpParser/Node/Expr/BooleanNot.php 1
BooleanOperator class Drupal\views\Plugin\views\filter core/modules/views/src/Plugin/views/filter/BooleanOperator.php Simple filter to handle matching of boolean values. 2 1
BooleanOperatorPlacementSniff class PHP_CodeSniffer\Standards\PSR12\Sniffs\ControlStructures vendor/squizlabs/php_codesniffer/src/Standards/PSR12/Sniffs/ControlStructures/BooleanOperatorPlacementSniff.php
BooleanOperatorString class Drupal\views\Plugin\views\filter core/modules/views/src/Plugin/views/filter/BooleanOperatorString.php Simple filter to handle matching of boolean values.
BooleanOr class PhpParser\Node\Expr\BinaryOp vendor/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/BooleanOr.php 1
BooleanParser class OpenTelemetry\SDK\Common\Configuration\Parser vendor/open-telemetry/sdk/Common/Configuration/Parser/BooleanParser.php 1
BoolValue class Google\Protobuf vendor/google/protobuf/src/Google/Protobuf/BoolValue.php Wrapper message for `bool`. The JSON representation for `BoolValue` is JSON `true` and `false`.
Bool_ class PhpParser\Node\Expr\Cast vendor/nikic/php-parser/lib/PhpParser/Node/Expr/Cast/Bool_.php
BootableCommandTrait trait Drupal\Core\Command core/lib/Drupal/Core/Command/BootableCommandTrait.php Contains helper methods for console commands that boot up Drupal. 2
BootstrapConfigStorageFactory class Drupal\Core\Config core/lib/Drupal/Core/Config/BootstrapConfigStorageFactory.php Defines a factory for retrieving the config storage used pre-kernel. 2
BootstrapFinished final class PHPUnit\Event\TestRunner vendor/phpunit/phpunit/src/Event/Events/TestRunner/BootstrapFinished.php @psalm-immutable
BootstrapFinishedSubscriber interface PHPUnit\Event\TestRunner vendor/phpunit/phpunit/src/Event/Events/TestRunner/BootstrapFinishedSubscriber.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
BotbleInstaller class Composer\Installers vendor/composer/installers/src/Composer/Installers/BotbleInstaller.php
Bound class Composer\Semver\Constraint vendor/composer/semver/src/Constraint/Bound.php 2
BoundArgument final class Symfony\Component\DependencyInjection\Argument vendor/symfony/dependency-injection/Argument/BoundArgument.php @author Guilhem Niot <guilhem.niot@gmail.com> 7
Box class Drupal\block_content\Plugin\migrate\source\d6 core/modules/block_content/src/Plugin/migrate/source/d6/Box.php Drupal 6 block source from database.
BoxTranslation class Drupal\block_content\Plugin\migrate\source\d6 core/modules/block_content/src/Plugin/migrate/source/d6/BoxTranslation.php Drupal 6 i18n content block translations source from database.
BranchAndPathCoverageNotSupportedException final class SebastianBergmann\CodeCoverage vendor/phpunit/php-code-coverage/src/Exception/BranchAndPathCoverageNotSupportedException.php 1
Breadcrumb class Drupal\Core\Breadcrumb core/lib/Drupal/Core/Breadcrumb/Breadcrumb.php Used to return generated breadcrumbs with associated cacheability metadata. 6
BreadcrumbBuilderInterface interface Drupal\Core\Breadcrumb core/lib/Drupal/Core/Breadcrumb/BreadcrumbBuilderInterface.php Defines an interface for classes that build breadcrumbs. 5 5
BreadcrumbManager class Drupal\Core\Breadcrumb core/lib/Drupal/Core/Breadcrumb/BreadcrumbManager.php Provides a breadcrumb manager.
BreakLockForm class Drupal\views_ui\Form core/modules/views_ui/src/Form/BreakLockForm.php Builds the form to break the lock of an edited view.
BreakLockLink class Drupal\Core\TempStore\Element core/lib/Drupal/Core/TempStore/Element/BreakLockLink.php Provides a link to break a tempstore lock.
Breakpoint class Drupal\breakpoint core/modules/breakpoint/src/Breakpoint.php Default object used for breakpoint plugins.
BreakpointHooks class Drupal\breakpoint\Hook core/modules/breakpoint/src/Hook/BreakpointHooks.php Hook implementations for breakpoint.
BreakpointInterface interface Drupal\breakpoint core/modules/breakpoint/src/BreakpointInterface.php Interface for Breakpoint plugins. 1 1
BreakpointManager class Drupal\breakpoint core/modules/breakpoint/src/BreakpointManager.php Defines a breakpoint plugin manager to deal with breakpoints. 2
BreakpointManagerInterface interface Drupal\breakpoint core/modules/breakpoint/src/BreakpointManagerInterface.php Defines an interface for breakpoint managers. 1 1

Pagination

  • First page
  • Previous page
  • …
  • Page 13
  • Page 14
  • Page 15
  • Page 16
  • Page 17
  • Page 18
  • Page 19
  • Page 20
  • Page 21
  • …
  • Next page
  • Last page
RSS feed
Powered by Drupal