You are here

public function TwitterBlock::defaultConfiguration in Twitter Block 8.3

Same name and namespace in other branches
  1. 8.2 src/Plugin/Block/TwitterBlock.php \Drupal\twitter_block\Plugin\Block\TwitterBlock::defaultConfiguration()

Overrides BlockPluginTrait::defaultConfiguration

File

src/Plugin/Block/TwitterBlock.php, line 256

Class

TwitterBlock
Defines a twitter block block type.

Namespace

Drupal\twitter_block\Plugin\Block

Code

public function defaultConfiguration() {
  return [
    'username' => '',
    'theme' => '',
    'link_color' => '',
    'width' => '',
    'height' => '',
    'chrome' => [],
    'border_color' => '',
    'language' => '',
    'tweet_limit' => '',
    'related' => '',
    'polite' => '',
  ];
}