You are here

public function JuicerEmbedFeedBlock::__construct in Juicer - Social Media Feed Aggregator 8

Constructs a global locator.

Parameters

array $configuration: Plugin configuration.

string $plugin_id: The plugin ID.

mixed $plugin_definition: The plugin definition.

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The Drupal config factory service.

Overrides BlockPluginTrait::__construct

File

src/Plugin/Block/JuicerEmbedFeedBlock.php, line 43

Class

JuicerEmbedFeedBlock
Provides a Juicer embed block.

Namespace

Drupal\juicerio\Plugin\Block

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, ConfigFactoryInterface $config_factory) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->configFactory = $config_factory;
}