You are here

public function InstagramBlockBlock::defaultConfiguration in Instagram Block 8.2

Same name and namespace in other branches
  1. 8.3 src/Plugin/Block/InstagramBlockBlock.php \Drupal\instagram_block\Plugin\Block\InstagramBlockBlock::defaultConfiguration()
  2. 8 src/Plugin/Block/InstagramBlockBlock.php \Drupal\instagram_block\Plugin\Block\InstagramBlockBlock::defaultConfiguration()

Overrides BlockPluginTrait::defaultConfiguration

File

src/Plugin/Block/InstagramBlockBlock.php, line 90

Class

InstagramBlockBlock
Provides an Instagram block.

Namespace

Drupal\instagram_block\Plugin\Block

Code

public function defaultConfiguration() {
  return [
    'access_token' => '',
    'count' => 4,
    'width' => 150,
    'height' => 150,
    'img_resolution' => 'thumbnail',
    'cache_time_minutes' => 1440,
  ];
}