public function SimpleInstagramBlock::defaultConfiguration in Simple Instagram Feed Block 1.0.x
Same name and namespace in other branches
- 8.3 src/Plugin/Block/SimpleInstagramBlock.php \Drupal\simple_instagram_feed\Plugin\Block\SimpleInstagramBlock::defaultConfiguration()
Overrides BlockPluginTrait::defaultConfiguration
File
- src/
Plugin/ Block/ SimpleInstagramBlock.php, line 25
Class
- SimpleInstagramBlock
- Provides a block with a dynamic Instagram Feed.
Namespace
Drupal\simple_instagram_feed\Plugin\BlockCode
public function defaultConfiguration() {
return [
'items' => 12,
'styling' => 'true',
'captions' => false,
'instagram_username' => 'instagram',
'display_profile' => true,
'display_biography' => true,
'items_per_row_type' => false,
'items_per_row_default' => 5,
'items_per_row_l_720' => 5,
'items_per_row_l_960' => 5,
'items_per_row_h_960' => 5,
'lazy_load' => true,
] + parent::defaultConfiguration();
}