You are here

public function EmbedSettingsForm::__construct in Embed 8

Constructs a EmbedSettingsForm object.

Parameters

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

\Drupal\Core\StreamWrapper\StreamWrapperManagerInterface $stream_wrapper_manager: The stream wrapper manager.

Overrides ConfigFormBase::__construct

File

src/Form/EmbedSettingsForm.php, line 32

Class

EmbedSettingsForm
Configure embed settings for this site.

Namespace

Drupal\embed\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, StreamWrapperManagerInterface $stream_wrapper_manager) {
  parent::__construct($config_factory);
  $this->streamWrapperManager = $stream_wrapper_manager;
}