interface MessagesBlockPluginInterface
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Block/MessagesBlockPluginInterface.php \Drupal\Core\Block\MessagesBlockPluginInterface
- 10 core/lib/Drupal/Core/Block/MessagesBlockPluginInterface.php \Drupal\Core\Block\MessagesBlockPluginInterface
- 11.x core/lib/Drupal/Core/Block/MessagesBlockPluginInterface.php \Drupal\Core\Block\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
- 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
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\BlockView source
interface MessagesBlockPluginInterface extends BlockPluginInterface {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.