public function SettingsForm::__construct in Entity Print 8
Same name and namespace in other branches
- 8.2 src/Form/SettingsForm.php \Drupal\entity_print\Form\SettingsForm::__construct()
Constructs a \Drupal\system\ConfigFormBase object.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.
\Drupal\entity_print\Plugin\EntityPrintPluginManager $plugin_manager: The plugin manager object.
\Drupal\Core\Entity\EntityStorageInterface $entity_storage: The config storage.
Overrides ConfigFormBase::__construct
File
- src/
Form/ SettingsForm.php, line 42
Class
- SettingsForm
- Defines a form that configures Entity Print settings.
Namespace
Drupal\entity_print\FormCode
public function __construct(ConfigFactoryInterface $config_factory, EntityPrintPluginManager $plugin_manager, EntityStorageInterface $entity_storage) {
parent::__construct($config_factory);
$this->pluginManager = $plugin_manager;
$this->storage = $entity_storage;
}