public function SimpleInstagramBlock::__construct in Simple Instagram Feed Block 8.3
Same name and namespace in other branches
- 1.0.x src/Plugin/Block/SimpleInstagramBlock.php \Drupal\simple_instagram_feed\Plugin\Block\SimpleInstagramBlock::__construct()
Overrides BlockPluginTrait::__construct
File
- src/
Plugin/ Block/ SimpleInstagramBlock.php, line 285
Class
- SimpleInstagramBlock
- Provides a block with a dynamic Instagram Feed.
Namespace
Drupal\simple_instagram_feed\Plugin\BlockCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, SimpleInstagramFeedLibraryInterface $simple_instagram_feed_library) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->simpleInstagramFeedLibrary = $simple_instagram_feed_library;
}