public function SettingsForm::__construct in Display Suite 8.2
Same name and namespace in other branches
- 8.4 src/Form/SettingsForm.php \Drupal\ds\Form\SettingsForm::__construct()
- 8.3 src/Form/SettingsForm.php \Drupal\ds\Form\SettingsForm::__construct()
Constructs a \Drupal\ds\Form\SettingsForm object.
Parameters
\Drupal\Core\Config\ConfigFactory $config_factory: The factory for configuration objects.
\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler.
\Drupal\Core\Theme\Registry $theme_registry: The theme registry used.
\Drupal\Core\Routing\RouteBuilderInterface $route_builder: The route builder.
\Drupal\Core\Entity\EntityFieldManagerInterface $entity_field_manager: The entity field manager.
Overrides ConfigFormBase::__construct
File
- src/
Form/ SettingsForm.php, line 63
Class
- SettingsForm
- Configures Display Suite settings for this site.
Namespace
Drupal\ds\FormCode
public function __construct(ConfigFactory $config_factory, ModuleHandlerInterface $module_handler, Registry $theme_registry, RouteBuilderInterface $route_builder, EntityFieldManagerInterface $entity_field_manager) {
parent::__construct($config_factory);
$this->moduleHandler = $module_handler;
$this->themeRegistry = $theme_registry;
$this->routeBuilder = $route_builder;
$this->entityFieldManager = $entity_field_manager;
}