public function TwitterBlock::defaultConfiguration in Twitter Block 8.2
Same name and namespace in other branches
- 8.3 src/Plugin/Block/TwitterBlock.php \Drupal\twitter_block\Plugin\Block\TwitterBlock::defaultConfiguration()
Overrides BlockPluginTrait::defaultConfiguration
File
- src/
Plugin/ Block/ TwitterBlock.php, line 264
Class
- TwitterBlock
- Defines a twitter block block type.
Namespace
Drupal\twitter_block\Plugin\BlockCode
public function defaultConfiguration() {
return [
'widget_id' => '',
'theme' => '',
'link_color' => '',
'width' => '',
'height' => '',
'chrome' => [],
'border_color' => '',
'language' => '',
'tweet_limit' => '',
'related' => '',
'polite' => '',
];
}