namespace Drupal\Core\Block

Same name in other branches
  1. 10 Drupal\Core\Block
  2. 9 Drupal\Core\Block
  3. 8.9.x Drupal\Core\Block
Object name File name Summary
BlockBase core/lib/Drupal/Core/Block/BlockBase.php Defines a base block implementation that most blocks plugins will extend.
BlockManager core/lib/Drupal/Core/Block/BlockManager.php Manages discovery and instantiation of block plugins.
BlockManagerInterface core/lib/Drupal/Core/Block/BlockManagerInterface.php Provides an interface for the discovery and instantiation of block plugins.
BlockPluginInterface core/lib/Drupal/Core/Block/BlockPluginInterface.php Defines the required interface for all block plugins.
BlockPluginTrait core/lib/Drupal/Core/Block/BlockPluginTrait.php Provides the base implementation of a block plugin.
MainContentBlockPluginInterface core/lib/Drupal/Core/Block/MainContentBlockPluginInterface.php The interface for "main page content" blocks.
MessagesBlockPluginInterface core/lib/Drupal/Core/Block/MessagesBlockPluginInterface.php The interface for "messages" (#type => status_messages) blocks.
TitleBlockPluginInterface core/lib/Drupal/Core/Block/TitleBlockPluginInterface.php The interface for "title" blocks.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.