public function FriendSearchBlock::__construct in Heartbeat 8
Constructs a new FriendSearchBlock object.
Parameters
array $configuration: A configuration array containing information about the plugin instance.
string $plugin_id: The plugin_id for the plugin instance.
string $plugin_definition: The plugin implementation definition.
Overrides BlockPluginTrait::__construct
File
- src/
Plugin/ Block/ FriendSearchBlock.php, line 36
Class
- FriendSearchBlock
- Provides a 'FriendSearchBlock' block.
Namespace
Drupal\heartbeat\Plugin\BlockCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, ConfigManager $config_manager) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->configManager = $config_manager;
}