You are here

public function FacebookAlbumBlock::defaultConfiguration in Facebook Album 8

Overrides BlockPluginTrait::defaultConfiguration

File

src/Plugin/Block/FacebookAlbumBlock.php, line 203
Contains \Drupal\facebook_album\Plugin\Block\FacebookAlbumBlock.

Class

FacebookAlbumBlock
Defines a facebook album block block type.

Namespace

Drupal\facebook_album\Plugin\Block

Code

public function defaultConfiguration() {
  return [
    'page_id' => '',
    'album_visibility' => 0,
    'albums' => [],
    'album_limit' => 0,
    'show_title' => 1,
    'show_description' => 1,
    'show_location' => 1,
    'album_thumb_width' => 365,
    'album_thumb_height' => 250,
    'thumb_width' => 160,
    'thumb_height' => 120,
    'colorbox' => 'maxWidth: "95%", maxHeight: "95%"',
  ];
}