public function InstagramBlockBlock::defaultConfiguration in Instagram Block 8
Same name and namespace in other branches
- 8.3 src/Plugin/Block/InstagramBlockBlock.php \Drupal\instagram_block\Plugin\Block\InstagramBlockBlock::defaultConfiguration()
- 8.2 src/Plugin/Block/InstagramBlockBlock.php \Drupal\instagram_block\Plugin\Block\InstagramBlockBlock::defaultConfiguration()
Overrides BlockPluginTrait::defaultConfiguration
File
- src/
Plugin/ Block/ InstagramBlockBlock.php, line 81 - Contains \Drupal\instagram_block\Plugin\Block\InstagramBlockBlock.
Class
- InstagramBlockBlock
- Provides an Instagram block.
Namespace
Drupal\instagram_block\Plugin\BlockCode
public function defaultConfiguration() {
return [
'count' => 4,
'width' => 150,
'height' => 150,
'img_resolution' => 'thumbnail',
'cache_time_minutes' => 1440,
];
}