public function OembedProvidersSettingsForm::__construct in oEmbed Providers 1.1.x
Same name and namespace in other branches
- 2.x src/Form/OembedProvidersSettingsForm.php \Drupal\oembed_providers\Form\OembedProvidersSettingsForm::__construct()
- 1.0.x src/Form/OembedProvidersSettingsForm.php \Drupal\oembed_providers\Form\OembedProvidersSettingsForm::__construct()
Constructs an OembedProvidersSettingsForm object.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.
\Drupal\Core\Cache\CacheBackendInterface $default_cache: Cache backend for default cache.
Overrides ConfigFormBase::__construct
File
- src/
Form/ OembedProvidersSettingsForm.php, line 38
Class
- OembedProvidersSettingsForm
- Configure oEmbed settings form.
Namespace
Drupal\oembed_providers\FormCode
public function __construct(ConfigFactoryInterface $config_factory, CacheBackendInterface $default_cache) {
$this
->setConfigFactory($config_factory);
$this->defaultCache = $default_cache;
}