public function ContactInfoBlock::__construct in Brainstorm profile 8
Creates a ContactInfoBlock 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\Theme\ThemeManagerInterface $theme_manager: The theme manager.
Overrides BlockPluginTrait::__construct
File
- module/
custom/ adci_contact_info/ src/ Plugin/ Block/ ContactInfoBlock.php, line 44
Class
- ContactInfoBlock
- Provides an contact info block.
Namespace
Drupal\adci_contact_info\Plugin\BlockCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, ThemeManagerInterface $theme_manager) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->themeManager = $theme_manager;
}