You are here

public function SocialFooterPoweredByBlock::defaultConfiguration in Open Social 10.1.x

Same name and namespace in other branches
  1. 10.3.x modules/social_features/social_footer/src/Plugin/Block/SocialFooterPoweredByBlock.php \Drupal\social_footer\Plugin\Block\SocialFooterPoweredByBlock::defaultConfiguration()
  2. 10.0.x modules/social_features/social_footer/src/Plugin/Block/SocialFooterPoweredByBlock.php \Drupal\social_footer\Plugin\Block\SocialFooterPoweredByBlock::defaultConfiguration()
  3. 10.2.x modules/social_features/social_footer/src/Plugin/Block/SocialFooterPoweredByBlock.php \Drupal\social_footer\Plugin\Block\SocialFooterPoweredByBlock::defaultConfiguration()

Overrides SystemPoweredByBlock::defaultConfiguration

File

modules/social_features/social_footer/src/Plugin/Block/SocialFooterPoweredByBlock.php, line 84

Class

SocialFooterPoweredByBlock
Provides a 'Powered by' block.

Namespace

Drupal\social_footer\Plugin\Block

Code

public function defaultConfiguration() {
  return parent::defaultConfiguration() + [
    'logo' => '',
    'text' => [
      'value' => '',
      'format' => 'basic_html',
    ],
    'link' => [
      'url' => '',
      'title' => '',
    ],
  ];
}