public function DashboardBlock::__construct in Dashboards with Layout Builder 8
Same name in this branch
- 8 src/Plugin/Derivative/DashboardBlock.php \Drupal\dashboards\Plugin\Derivative\DashboardBlock::__construct()
- 8 src/Plugin/Block/DashboardBlock.php \Drupal\dashboards\Plugin\Block\DashboardBlock::__construct()
Same name and namespace in other branches
- 2.0.x src/Plugin/Derivative/DashboardBlock.php \Drupal\dashboards\Plugin\Derivative\DashboardBlock::__construct()
Constructs new DashboardBlock.
Parameters
\Drupal\Component\Plugin\PluginManagerInterface $plugin_manager: The entity type manager.
File
- src/
Plugin/ Derivative/ DashboardBlock.php, line 49
Class
- DashboardBlock
- Provides block plugin definitions for dashboard blocks.
Namespace
Drupal\dashboards\Plugin\DerivativeCode
public function __construct(PluginManagerInterface $plugin_manager) {
$this->manager = $plugin_manager;
}