You are here

public function SocialSimpleBlock::defaultConfiguration in Social simple 8

Same name and namespace in other branches
  1. 2.0.x src/Plugin/Block/SocialSimpleBlock.php \Drupal\social_simple\Plugin\Block\SocialSimpleBlock::defaultConfiguration()

Overrides BlockPluginTrait::defaultConfiguration

File

src/Plugin/Block/SocialSimpleBlock.php, line 98

Class

SocialSimpleBlock
Provides a 'SocialSimpleBlock' block.

Namespace

Drupal\social_simple\Plugin\Block

Code

public function defaultConfiguration() {
  return [
    'social_networks' => [],
    'social_share_title' => $this
      ->t('Share on'),
  ] + parent::defaultConfiguration();
}