You are here

public function SystemBrandingBlock::defaultConfiguration in Drupal 8

Same name and namespace in other branches
  1. 9 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,
  ];
}