You are here

interface MessagesBlockPluginInterface in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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_set_message()

drupal_get_message()

\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
Contains \Drupal\block\Plugin\DisplayVariant\BlockPageVariant.
SystemMessagesBlock.php in core/modules/system/src/Plugin/Block/SystemMessagesBlock.php
Contains \Drupal\system\Plugin\Block\SystemMessagesBlock.

File

core/lib/Drupal/Core/Block/MessagesBlockPluginInterface.php, line 20
Contains \Drupal\Core\Block\MessagesBlockPluginInterface.

Namespace

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

}

Members

Namesort descending Modifiers Type Description Overrides
BlockPluginInterface::access public function Indicates whether the block should be shown. 1
BlockPluginInterface::blockForm public function Returns the configuration form elements specific to this block plugin. 1
BlockPluginInterface::blockSubmit public function Adds block type-specific submission handling for the block form. 1
BlockPluginInterface::blockValidate public function Adds block type-specific validation for the block form. 1
BlockPluginInterface::build public function Builds and returns the renderable array for this block plugin. 33
BlockPluginInterface::getMachineNameSuggestion public function Suggests a machine name to identify an instance of this block. 1
BlockPluginInterface::label public function Returns the user-facing block label. 1
BlockPluginInterface::setConfigurationValue public function Sets a particular value in the block settings. 1
CacheableDependencyInterface::getCacheContexts public function The cache contexts associated with this object. 26
CacheableDependencyInterface::getCacheMaxAge public function The maximum age for which this object may be cached. 26
CacheableDependencyInterface::getCacheTags public function The cache tags associated with this object. 19
ConfigurablePluginInterface::defaultConfiguration public function Gets default configuration for this plugin. 9
ConfigurablePluginInterface::getConfiguration public function Gets this plugin's configuration. 10
ConfigurablePluginInterface::setConfiguration public function Sets the configuration for this plugin instance. 10
DependentPluginInterface::calculateDependencies public function Calculates dependencies for the configured plugin. 15
DerivativeInspectionInterface::getBaseId public function Gets the base_plugin_id of the plugin instance. 1
DerivativeInspectionInterface::getDerivativeId public function Gets the derivative_id of the plugin instance. 1
PluginFormInterface::buildConfigurationForm public function Form constructor. 23
PluginFormInterface::submitConfigurationForm public function Form submission handler. 21
PluginFormInterface::validateConfigurationForm public function Form validation handler. 12
PluginInspectionInterface::getPluginDefinition public function Gets the definition of the plugin implementation. 2
PluginInspectionInterface::getPluginId public function Gets the plugin_id of the plugin instance. 2