You are here

public function SystemBrandingBlock::defaultConfiguration in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/system/src/Plugin/Block/SystemBrandingBlock.php \Drupal\system\Plugin\Block\SystemBrandingBlock::defaultConfiguration()
  2. 10 core/modules/system/src/Plugin/Block/SystemBrandingBlock.php \Drupal\system\Plugin\Block\SystemBrandingBlock::defaultConfiguration()

Overrides BlockPluginTrait::defaultConfiguration

File

core/modules/system/src/Plugin/Block/SystemBrandingBlock.php, line 65

Class

SystemBrandingBlock
Provides a block to display 'Site branding' elements.

Namespace

Drupal\system\Plugin\Block

Code

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