Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. MessagesBlockPluginInterface.php

interface MessagesBlockPluginInterface

The interface for "messages" (#type => status_messages) blocks.

Hierarchy

  • interface \Drupal\Component\Plugin\ConfigurableInterface; interface \Drupal\Component\Plugin\DependentPluginInterface; interface \Drupal\Component\Plugin\DerivativeInspectionInterface; interface \Drupal\Component\Plugin\PluginInspectionInterface; interface \Drupal\Core\Cache\CacheableDependencyInterface; interface \Drupal\Core\Plugin\PluginFormInterface
    • interface \Drupal\Core\Block\BlockPluginInterface extends \Drupal\Component\Plugin\ConfigurableInterface \Drupal\Component\Plugin\DependentPluginInterface \Drupal\Core\Plugin\PluginFormInterface \Drupal\Component\Plugin\PluginInspectionInterface \Drupal\Core\Cache\CacheableDependencyInterface \Drupal\Component\Plugin\DerivativeInspectionInterface
      • interface \Drupal\Core\Block\MessagesBlockPluginInterface extends \Drupal\Core\Block\BlockPluginInterface

Expanded class hierarchy of MessagesBlockPluginInterface

All classes that implement MessagesBlockPluginInterface

See also

\Drupal\Core\Messenger\MessengerInterface

\Drupal\Core\Render\Element\StatusMessages

\Drupal\block\Plugin\DisplayVariant\BlockPageVariant

Related topics

Block API
Information about the classes and interfaces that make up the Block API.
2 files declare their use of MessagesBlockPluginInterface
BlockPageVariant.php in core/modules/block/src/Plugin/DisplayVariant/BlockPageVariant.php
SystemMessagesBlock.php in core/modules/system/src/Plugin/Block/SystemMessagesBlock.php

File

core/lib/Drupal/Core/Block/MessagesBlockPluginInterface.php, line 14

Namespace

Drupal\Core\Block
View source
interface MessagesBlockPluginInterface extends BlockPluginInterface {

}
RSS feed
Powered by Drupal