You are here

public function SystemBrandingBlock::defaultConfiguration in Zircon Profile 8

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

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides BlockBase::defaultConfiguration

File

core/modules/system/src/Plugin/Block/SystemBrandingBlock.php, line 67
Contains \Drupal\system\Plugin\Block\SystemBrandingBlock.

Class

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

Namespace

Drupal\system\Plugin\Block

Code

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