You are here

public function VimeoSettingsForm::__construct in Vimeo Video Uploader 8

Same name and namespace in other branches
  1. 8.4 src/Form/VimeoSettingsForm.php \Drupal\vimeo_video_uploader\Form\VimeoSettingsForm::__construct()

Constructs a \Drupal\system\ConfigFormBase object.

Parameters

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

Overrides ConfigFormBase::__construct

File

src/Form/VimeoSettingsForm.php, line 24
Contains \Drupal\vimeo_video_uploader\Form\SettingsForm.

Class

VimeoSettingsForm
Provide configuration form for user to provide vimeo API information for a

Namespace

Drupal\vimeo_video_uploader\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, LoggerChannelFactoryInterface $logger_factory) {
  $this
    ->setConfigFactory($config_factory);
  $this->logger = $logger_factory
    ->get('vimeo_video_uploader');
}