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
BinaryExpression class Peast\Syntax\Node vendor/mck89/peast/lib/Peast/Syntax/Node/BinaryExpression.php A node that represents a binary expression. For example: a + b
BinaryFileResponse class Symfony\Component\HttpFoundation vendor/symfony/http-foundation/BinaryFileResponse.php BinaryFileResponse represents an HTTP response delivering a file. 6
BinaryInstaller class Composer\Installer vendor/composer/composer/src/Composer/Installer/BinaryInstaller.php Utility to handle installation of package "bin"/binaries 2
BinaryInterface interface Drupal\Core\TypedData\Type core/lib/Drupal/Core/TypedData/Type/BinaryInterface.php Interface for binary data. 1 2
BinaryOp abstract class PhpParser\Node\Expr vendor/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp.php 27 29
BinaryOperator abstract class PHPUnit\Framework\Constraint vendor/phpunit/phpunit/src/Framework/Constraint/Operator/BinaryOperator.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit 3
BinaryPresenceInterface interface Composer\Installer vendor/composer/composer/src/Composer/Installer/BinaryPresenceInterface.php Interface for the package installation manager that handle binary installation. 1
BinaryUtils class Ramsey\Uuid vendor/ramsey/uuid/src/BinaryUtils.php Provides binary math utilities
BindTrait trait Symfony\Component\DependencyInjection\Loader\Configurator\Traits vendor/symfony/dependency-injection/Loader/Configurator/Traits/BindTrait.php
Bitbucket class Composer\Util vendor/composer/composer/src/Composer/Util/Bitbucket.php @author Paul Wenke <wenke.paul@gmail.com> 1
BitrixInstaller class Composer\Installers vendor/composer/installers/src/Composer/Installers/BitrixInstaller.php Installer for Bitrix Framework. Supported types of extensions:
BitwiseAnd class PhpParser\Node\Expr\BinaryOp vendor/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/BitwiseAnd.php
BitwiseAnd class PhpParser\Node\Expr\AssignOp vendor/nikic/php-parser/lib/PhpParser/Node/Expr/AssignOp/BitwiseAnd.php
BitwiseAndBinary class Twig\Node\Expression\Binary vendor/twig/twig/src/Node/Expression/Binary/BitwiseAndBinary.php 1
BitwiseNot class PhpParser\Node\Expr vendor/nikic/php-parser/lib/PhpParser/Node/Expr/BitwiseNot.php
BitwiseOr class PhpParser\Node\Expr\BinaryOp vendor/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/BitwiseOr.php
BitwiseOr class PhpParser\Node\Expr\AssignOp vendor/nikic/php-parser/lib/PhpParser/Node/Expr/AssignOp/BitwiseOr.php
BitwiseOrBinary class Twig\Node\Expression\Binary vendor/twig/twig/src/Node/Expression/Binary/BitwiseOrBinary.php 1
BitwiseXor class PhpParser\Node\Expr\BinaryOp vendor/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/BitwiseXor.php
BitwiseXor class PhpParser\Node\Expr\AssignOp vendor/nikic/php-parser/lib/PhpParser/Node/Expr/AssignOp/BitwiseXor.php
BitwiseXorBinary class Twig\Node\Expression\Binary vendor/twig/twig/src/Node/Expression/Binary/BitwiseXorBinary.php 1
BlackfireDumper final class Twig\Profiler\Dumper vendor/twig/twig/src/Profiler/Dumper/BlackfireDumper.php @author Fabien Potencier <fabien@symfony.com>
BlackHoleMetadataFactory class Symfony\Component\Validator\Mapping\Factory vendor/symfony/validator/Mapping/Factory/BlackHoleMetadataFactory.php Metadata factory that does not store metadata.
Blank class Symfony\Component\Validator\Constraints vendor/symfony/validator/Constraints/Blank.php Validates that a value is blank, i.e. an empty string or null. 1
BlankLayout class Drupal\layout_builder\Plugin\Layout core/modules/layout_builder/src/Plugin/Layout/BlankLayout.php Provides a layout plugin that produces no output.
BlankValidator class Symfony\Component\Validator\Constraints vendor/symfony/validator/Constraints/BlankValidator.php @author Bernhard Schussek <bschussek@gmail.com>
Block class Drupal\block\Entity core/modules/block/src/Entity/Block.php Defines a Block configuration entity class. 4 1
Block class Drupal\block\Plugin\migrate\source core/modules/block/src/Plugin/migrate/source/Block.php Drupal 6/7 block source from database. 2 2
Block class Drupal\views\Plugin\views\display core/modules/views/src/Plugin/views/display/Block.php The plugin that handles a block.
Block class PhpParser\Node\Stmt vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/Block.php
Block class Drupal\Core\Block\Annotation core/lib/Drupal/Core/Block/Annotation/Block.php Defines a Block annotation object.
Block class Drupal\Core\Block\Attribute core/lib/Drupal/Core/Block/Attribute/Block.php The Block attribute. 27
BlockAccessControlHandler class Drupal\block core/modules/block/src/BlockAccessControlHandler.php Defines the access control handler for the content block entity type. 1
BlockAddController class Drupal\block\Controller core/modules/block/src/Controller/BlockAddController.php Controller for building the block instance add form.
BlockBase abstract class Drupal\Core\Block core/lib/Drupal/Core/Block/BlockBase.php Defines a base block implementation that most blocks plugins will extend. 25 25
BlockCommentSniff class PHP_CodeSniffer\Standards\Squiz\Sniffs\Commenting vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Sniffs/Commenting/BlockCommentSniff.php
BlockComponentRenderArray class Drupal\layout_builder\EventSubscriber core/modules/layout_builder/src/EventSubscriber/BlockComponentRenderArray.php Builds render arrays and handles access for all block components. 2
BlockContent class Drupal\block_content\Plugin\Derivative core/modules/block_content/src/Plugin/Derivative/BlockContent.php Retrieves block plugin definitions for all content blocks. 1
BlockContent class Drupal\block_content\Plugin\views\wizard core/modules/block_content/src/Plugin/views/wizard/BlockContent.php Used for creating 'block_content' views with the wizard.
BlockContent class Drupal\block_content\Entity core/modules/block_content/src/Entity/BlockContent.php Defines the content block entity class.
BlockContentAccessControlHandler class Drupal\block_content core/modules/block_content/src/BlockContentAccessControlHandler.php Defines the access control handler for the content block entity type. 1
BlockContentAddLocalAction class Drupal\block_content\Plugin\Menu\LocalAction core/modules/block_content/src/Plugin/Menu/LocalAction/BlockContentAddLocalAction.php Modifies the 'Add content block' local action. 1
BlockContentBlock class Drupal\block_content\Plugin\Block core/modules/block_content/src/Plugin/Block/BlockContentBlock.php Defines a generic block type.
BlockContentController class Drupal\block_content\Controller core/modules/block_content/src/Controller/BlockContentController.php
BlockContentDeleteForm class Drupal\block_content\Form core/modules/block_content/src/Form/BlockContentDeleteForm.php Provides a confirmation form for deleting a content block entity. 1
BlockContentEntityChangedConstraint class Drupal\block_content\Plugin\Validation\Constraint core/modules/block_content/src/Plugin/Validation/Constraint/BlockContentEntityChangedConstraint.php Validation constraint for the block content entity changed timestamp.
BlockContentEntityChangedConstraintValidator class Drupal\block_content\Plugin\Validation\Constraint core/modules/block_content/src/Plugin/Validation/Constraint/BlockContentEntityChangedConstraintValidator.php Validates the BlockContentEntityChanged constraint.
BlockContentEvents final class Drupal\block_content core/modules/block_content/src/BlockContentEvents.php Defines events for the block_content module. 1
BlockContentForm class Drupal\block_content core/modules/block_content/src/BlockContentForm.php Form handler for the content block edit forms. 1
BlockContentGetDependencyEvent class Drupal\block_content\Event core/modules/block_content/src/Event/BlockContentGetDependencyEvent.php Block content event to allow setting an access dependency. 2

Pagination

  • First page
  • Previous page
  • …
  • Page 11
  • Page 12
  • Page 13
  • Page 14
  • Page 15
  • Page 16
  • Page 17
  • Page 18
  • Page 19
  • …
  • 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