function SystemMessagesBlock::defaultConfiguration

Same name in other branches
  1. 9 core/modules/system/src/Plugin/Block/SystemMessagesBlock.php \Drupal\system\Plugin\Block\SystemMessagesBlock::defaultConfiguration()
  2. 8.9.x core/modules/system/src/Plugin/Block/SystemMessagesBlock.php \Drupal\system\Plugin\Block\SystemMessagesBlock::defaultConfiguration()
  3. 10 core/modules/system/src/Plugin/Block/SystemMessagesBlock.php \Drupal\system\Plugin\Block\SystemMessagesBlock::defaultConfiguration()

Overrides BlockPluginTrait::defaultConfiguration

File

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

Class

SystemMessagesBlock
Provides a block to display the messages.

Namespace

Drupal\system\Plugin\Block

Code

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

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