You are here

public function MediaThumbnailConfigForm::__construct in Media Thumbnails 8

Constructs a \Drupal\system\ConfigFormBase object.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.

Overrides ConfigFormBase::__construct

File

src/Form/MediaThumbnailConfigForm.php, line 26

Class

MediaThumbnailConfigForm
Implements the media thumbnails config form.

Namespace

Drupal\media_thumbnails\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, ModuleHandlerInterface $module_handler) {
  parent::__construct($config_factory);
  $this->moduleHandler = $module_handler;
}