public function MediaDirectoriesConfigForm::__construct in Media Directories 8
Same name and namespace in other branches
- 3.x src/Form/MediaDirectoriesConfigForm.php \Drupal\media_directories\Form\MediaDirectoriesConfigForm::__construct()
- 2.x src/Form/MediaDirectoriesConfigForm.php \Drupal\media_directories\Form\MediaDirectoriesConfigForm::__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/ MediaDirectoriesConfigForm.php, line 27
Class
- MediaDirectoriesConfigForm
- Media directories configuration form.
Namespace
Drupal\media_directories\FormCode
public function __construct(ConfigFactoryInterface $config_factory, EntityTypeManagerInterface $entityTypeManager) {
parent::__construct($config_factory);
$this->entityTypeManager = $entityTypeManager;
}