interface MessagesBlockPluginInterface

Same name in other branches
  1. 9 core/lib/Drupal/Core/Block/MessagesBlockPluginInterface.php \Drupal\Core\Block\MessagesBlockPluginInterface
  2. 8.9.x core/lib/Drupal/Core/Block/MessagesBlockPluginInterface.php \Drupal\Core\Block\MessagesBlockPluginInterface
  3. 11.x core/lib/Drupal/Core/Block/MessagesBlockPluginInterface.php \Drupal\Core\Block\MessagesBlockPluginInterface

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

Hierarchy

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

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 {

}

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