You are here

public function DashboardBlockConfigForm::__construct in Content Planner 8

SettingsForm constructor.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory service.

Overrides ConfigFormBase::__construct

File

src/Form/DashboardBlockConfigForm.php, line 36

Class

DashboardBlockConfigForm
Defines a form that configures forms module settings.

Namespace

Drupal\content_planner\Form

Code

public function __construct(ConfigFactoryInterface $config_factory) {
  parent::__construct($config_factory);
  $this->dashboardSettingsService = \Drupal::service('content_planner.dashboard_settings_service');
  $this->dashboardBlockPluginManager = \Drupal::service('content_planner.dashboard_block_plugin_manager');
}