public function SocialSimpleBlock::defaultConfiguration in Social simple 2.0.x
Same name and namespace in other branches
- 8 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\BlockCode
public function defaultConfiguration() {
return [
'social_networks' => [],
'social_share_title' => $this
->t('Share on'),
] + parent::defaultConfiguration();
}