You are here

public function DashboardSettingsForm::__construct in Content Planner 8

SettingsForm constructor.

Parameters

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

Overrides ConfigFormBase::__construct

File

src/Form/DashboardSettingsForm.php, line 39

Class

DashboardSettingsForm
Defines a form that configures forms module settings.

Namespace

Drupal\content_planner\Form

Code

public function __construct(ConfigFactoryInterface $config_factory) {
  parent::__construct($config_factory);

  // Get config.
  $this->dashboardSettingsService = \Drupal::service('content_planner.dashboard_settings_service');
  $this->dashboardBlockPluginManager = \Drupal::service('content_planner.dashboard_block_plugin_manager');
}