You are here

public function SimpleInstagramBlock::defaultConfiguration in Simple Instagram Feed Block 8.3

Same name and namespace in other branches
  1. 1.0.x src/Plugin/Block/SimpleInstagramBlock.php \Drupal\simple_instagram_feed\Plugin\Block\SimpleInstagramBlock::defaultConfiguration()

Overrides BlockPluginTrait::defaultConfiguration

File

src/Plugin/Block/SimpleInstagramBlock.php, line 32

Class

SimpleInstagramBlock
Provides a block with a dynamic Instagram Feed.

Namespace

Drupal\simple_instagram_feed\Plugin\Block

Code

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();
}