public function TwitterFeedBlock::defaultConfiguration in Twitter_Feed 8
Overrides BlockPluginTrait::defaultConfiguration
File
- src/
Plugin/ Block/ TwitterFeedBlock.php, line 64
Class
- TwitterFeedBlock
- Provides a 'TwitterFeedBlock' block.
Namespace
Drupal\twitter_feed\Plugin\BlockCode
public function defaultConfiguration() {
$default = [
'number_of_tweets' => 3,
'username' => 'drupal',
'display_images' => FALSE,
'display_avatars' => FALSE,
];
return $default;
}