public function SocialFooterPoweredByBlock::__construct in Open Social 10.2.x
Same name and namespace in other branches
- 10.3.x modules/social_features/social_footer/src/Plugin/Block/SocialFooterPoweredByBlock.php \Drupal\social_footer\Plugin\Block\SocialFooterPoweredByBlock::__construct()
- 10.0.x modules/social_features/social_footer/src/Plugin/Block/SocialFooterPoweredByBlock.php \Drupal\social_footer\Plugin\Block\SocialFooterPoweredByBlock::__construct()
- 10.1.x modules/social_features/social_footer/src/Plugin/Block/SocialFooterPoweredByBlock.php \Drupal\social_footer\Plugin\Block\SocialFooterPoweredByBlock::__construct()
Creates a SocialFooterPoweredByBlock instance.
Parameters
array $configuration: A configuration array containing information about the plugin instance.
string $plugin_id: The plugin_id for the plugin instance.
mixed $plugin_definition: The plugin implementation definition.
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The configuration factory.
\Drupal\file\FileStorageInterface $storage: The file storage.
Overrides BlockPluginTrait::__construct
File
- modules/
social_features/ social_footer/ src/ Plugin/ Block/ SocialFooterPoweredByBlock.php, line 55
Class
- SocialFooterPoweredByBlock
- Provides a 'Powered by' block.
Namespace
Drupal\social_footer\Plugin\BlockCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, ConfigFactoryInterface $config_factory, FileStorageInterface $storage) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->configFactory = $config_factory;
$this->storage = $storage;
}