You are here

public function SystemMessagesBlock::defaultConfiguration in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/system/src/Plugin/Block/SystemMessagesBlock.php \Drupal\system\Plugin\Block\SystemMessagesBlock::defaultConfiguration()

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides BlockPluginTrait::defaultConfiguration

File

core/modules/system/src/Plugin/Block/SystemMessagesBlock.php, line 24

Class

SystemMessagesBlock
Provides a block to display the messages.

Namespace

Drupal\system\Plugin\Block

Code

public function defaultConfiguration() {
  return [
    'label_display' => FALSE,
  ];
}