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
BlockContentHooks class Drupal\block_content\Hook core/modules/block_content/src/Hook/BlockContentHooks.php Hook implementations for block_content.
BlockContentInterface interface Drupal\block_content core/modules/block_content/src/BlockContentInterface.php Provides an interface defining a content block entity. 1 5
BlockContentListBuilder class Drupal\block_content core/modules/block_content/src/BlockContentListBuilder.php Defines a class to build a listing of content block entities. 1
BlockContentModerationHandler class Drupal\content_moderation\Entity\Handler core/modules/content_moderation/src/Entity/Handler/BlockContentModerationHandler.php Customizations for block content entities. 1
BlockContentPermissions class Drupal\block_content core/modules/block_content/src/BlockContentPermissions.php Provide dynamic permissions for blocks of different types.
BlockContentStorageSchema class Drupal\block_content core/modules/block_content/src/BlockContentStorageSchema.php Defines the block content schema handler. 1
BlockContentTranslationHandler class Drupal\block_content core/modules/block_content/src/BlockContentTranslationHandler.php Defines the translation handler for content blocks. 1
BlockContentType class Drupal\block_content\Entity core/modules/block_content/src/Entity/BlockContentType.php Defines the block type entity. 2
BlockContentTypeDeleteForm class Drupal\block_content\Form core/modules/block_content/src/Form/BlockContentTypeDeleteForm.php Provides a confirmation form for deleting a block type entity. 1
BlockContentTypeForm class Drupal\block_content core/modules/block_content/src/BlockContentTypeForm.php The block content type entity form. 1
BlockContentTypeInterface interface Drupal\block_content core/modules/block_content/src/BlockContentTypeInterface.php Provides an interface defining a block type entity. 1 2
BlockContentTypeListBuilder class Drupal\block_content core/modules/block_content/src/BlockContentTypeListBuilder.php Defines a class to build a listing of block type entities. 1
BlockContentUuidLookup class Drupal\block_content core/modules/block_content/src/BlockContentUuidLookup.php A cache collector that caches IDs for block_content UUIDs. 1 2
BlockContentViewBuilder class Drupal\block_content core/modules/block_content/src/BlockContentViewBuilder.php View builder handler for content blocks. 1
BlockContentViewsData class Drupal\block_content core/modules/block_content/src/BlockContentViewsData.php Provides the views data for the block_content entity type. 1
BlockContentWorkspaceHandler class Drupal\workspaces\Entity\Handler core/modules/workspaces/src/Entity/Handler/BlockContentWorkspaceHandler.php Provides a custom workspace handler for block_content entities. 1
BlockController class Drupal\block\Controller core/modules/block/src/Controller/BlockController.php Controller routines for admin block routes.
BlockControlStructureSpacingSniff class SlevomatCodingStandard\Sniffs\ControlStructures vendor/slevomat/coding-standard/SlevomatCodingStandard/Sniffs/ControlStructures/BlockControlStructureSpacingSniff.php
BlockCustom class Drupal\block_content\Plugin\migrate\source\d7 core/modules/block_content/src/Plugin/migrate/source/d7/BlockCustom.php Drupal 7 content block source from database.
BlockCustomTranslation class Drupal\block_content\Plugin\migrate\source\d7 core/modules/block_content/src/Plugin/migrate/source/d7/BlockCustomTranslation.php Drupal 7 i18n content block translations source from database. 1 1
BlockDeleteForm class Drupal\block\Form core/modules/block/src/Form/BlockDeleteForm.php Provides a deletion confirmation form for the block instance deletion form. 1
BlockedIp class Drupal\ban\Plugin\migrate\destination core/modules/ban/src/Plugin/migrate/destination/BlockedIp.php Destination for blocked IP addresses.
BlockedIps class Drupal\ban\Plugin\migrate\source\d7 core/modules/ban/src/Plugin/migrate/source/d7/BlockedIps.php Drupal 7 blocked IPs source from database.
BlockEntitySettingTrayForm class Drupal\settings_tray\Block core/modules/settings_tray/src/Block/BlockEntitySettingTrayForm.php Provides form for block instance forms when used in the off-canvas dialog. 1
BlockForm class Drupal\block core/modules/block/src/BlockForm.php Provides form for block instance forms. 1 2
BlockHasOverridesAccessCheck class Drupal\settings_tray\Access core/modules/settings_tray/src/Access/BlockHasOverridesAccessCheck.php Determines whether the requested block has a 'settings_tray' form. 2
BlockHooks class Drupal\block\Hook core/modules/block/src/Hook/BlockHooks.php Hook implementations for block.
BlockingSharedLockStoreInterface interface Symfony\Component\Lock vendor/symfony/lock/BlockingSharedLockStoreInterface.php @author Jérémy Derussé <jeremy@derusse.com> 3 3
BlockingStoreInterface interface Symfony\Component\Lock vendor/symfony/lock/BlockingStoreInterface.php @author Hamza Amrouche <hamza.simperfit@gmail.com> 4 4
BlockInterface interface Drupal\block core/modules/block/src/BlockInterface.php Provides an interface defining a block entity. 1 13
BlockLibraryController class Drupal\block\Controller core/modules/block/src/Controller/BlockLibraryController.php Provides a list of block plugins to be added to the layout.
BlockListBuilder class Drupal\block core/modules/block/src/BlockListBuilder.php Defines a class to build a listing of block entities. 1
BlockListController class Drupal\block\Controller core/modules/block/src/Controller/BlockListController.php Defines a controller to list blocks.
BlockManager class Drupal\Core\Block core/lib/Drupal/Core/Block/BlockManager.php Manages discovery and instantiation of block plugins.
BlockManagerInterface interface Drupal\Core\Block core/lib/Drupal/Core/Block/BlockManagerInterface.php Provides an interface for the discovery and instantiation of block plugins. 1 8
BlockNode class Twig\Node vendor/twig/twig/src/Node/BlockNode.php Represents a block node. 4
BlockPageDisplayVariantSubscriber class Drupal\block\EventSubscriber core/modules/block/src/EventSubscriber/BlockPageDisplayVariantSubscriber.php Selects the block page display variant. 2
BlockPageVariant class Drupal\block\Plugin\DisplayVariant core/modules/block/src/Plugin/DisplayVariant/BlockPageVariant.php Provides a page display variant that decorates the main content with blocks.
BlockPluginCollection class Drupal\block core/modules/block/src/BlockPluginCollection.php Provides a collection of block plugins. 1
BlockPluginHasSettingsTrayFormAccessCheck class Drupal\settings_tray\Access core/modules/settings_tray/src/Access/BlockPluginHasSettingsTrayFormAccessCheck.php Determines whether the requested block has a 'settings_tray' form. 2
BlockPluginId class Drupal\block\Plugin\migrate\process core/modules/block/src/Plugin/migrate/process/BlockPluginId.php
BlockPluginInterface interface Drupal\Core\Block core/lib/Drupal/Core/Block/BlockPluginInterface.php Defines the required interface for all block plugins. 5 14 1
BlockPluginTrait trait Drupal\Core\Block core/lib/Drupal/Core/Block/BlockPluginTrait.php Provides the base implementation of a block plugin. 1
BlockReferenceExpression class Twig\Node\Expression vendor/twig/twig/src/Node/Expression/BlockReferenceExpression.php Represents a block call node. 4
BlockReferenceNode class Twig\Node vendor/twig/twig/src/Node/BlockReferenceNode.php Represents a block call node. 4
BlockRegion class Drupal\block\Plugin\migrate\process core/modules/block/src/Plugin/migrate/process/BlockRegion.php
BlockRepository class Drupal\block core/modules/block/src/BlockRepository.php Provides a repository for Block config entities. 2
BlockRepositoryInterface interface Drupal\block core/modules/block/src/BlockRepositoryInterface.php 1 1
BlockSettings class Drupal\block\Plugin\migrate\process core/modules/block/src/Plugin/migrate/process/BlockSettings.php Determines the block settings.
BlockStatement class Peast\Syntax\Node vendor/mck89/peast/lib/Peast/Syntax/Node/BlockStatement.php A node that represents a block of code wrapped in curly braces. 1

Pagination

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