You are here

public function DashboardController::__construct in Content Planner 8

Constructs a new DashboardController object.

File

src/Controller/DashboardController.php, line 56

Class

DashboardController
Class DashboardController.

Namespace

Drupal\content_planner\Controller

Code

public function __construct(Connection $database, ConfigFactoryInterface $config_factory, DashboardSettingsService $dashboard_settings_service, DashboardService $dashboard_service, DashboardBlockPluginManager $dashboard_block_plugin_manager) {
  $this->database = $database;
  $this->configFactory = $config_factory;
  $this->dashboardSettingsService = $dashboard_settings_service;
  $this->dashboardService = $dashboard_service;
  $this->dashboardBlockPluginManager = $dashboard_block_plugin_manager;
}