public function DashboardBlock::__construct in Dashboards with Layout Builder 2.0.x
Same name in this branch
- 2.0.x src/Plugin/Derivative/DashboardBlock.php \Drupal\dashboards\Plugin\Derivative\DashboardBlock::__construct()
- 2.0.x src/Plugin/Block/DashboardBlock.php \Drupal\dashboards\Plugin\Block\DashboardBlock::__construct()
Same name and namespace in other branches
- 8 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 47
Class
- DashboardBlock
- Provides block plugin definitions for dashboard blocks.
Namespace
Drupal\dashboards\Plugin\DerivativeCode
public function __construct(PluginManagerInterface $plugin_manager) {
$this->manager = $plugin_manager;
}