public function SettingsForm::__construct in FullCalendar 8
Same name and namespace in other branches
- 8.3 fullcalendar_options/src/Form/SettingsForm.php \Drupal\fullcalendar_options\Form\SettingsForm::__construct()
Constructs a SettingsForm object.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory:
\Drupal\Component\Plugin\PluginManagerInterface $manager:
Overrides ConfigFormBase::__construct
File
- fullcalendar_options/
src/ Form/ SettingsForm.php, line 29
Class
- SettingsForm
- TODO
Namespace
Drupal\fullcalendar_options\FormCode
public function __construct(ConfigFactoryInterface $config_factory, PluginManagerInterface $manager) {
parent::__construct($config_factory);
$instance = $manager
->createInstance('fullcalendar_options');
$this->options = $instance
->optionsList();
}