public function HeartbeatBlockDeriver::__construct in Heartbeat 8
Construct.
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.
File
- src/
Plugin/ Derivative/ HeartbeatBlockDeriver.php, line 47
Class
- HeartbeatBlockDeriver
- Provides a block plugin definitions for Heartbeat
Namespace
Drupal\heartbeat\Plugin\DerivativeCode
public function __construct($plugin_id, HeartbeatTypeService $heartbeat_heartbeattype, HeartbeatStreamServices $heartbeatstream, HeartbeatService $heartbeat) {
parent::__construct($plugin_id);
$this->heartbeatTypeService = $heartbeat_heartbeattype;
$this->heartbeatStreamServices = $heartbeatstream;
$this->heartbeatService = $heartbeat;
}