You are here

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\Block

Code

public function defaultConfiguration() {
  $default = [
    'number_of_tweets' => 3,
    'username' => 'drupal',
    'display_images' => FALSE,
    'display_avatars' => FALSE,
  ];
  return $default;
}