public function JsonApiImageStylesAdminForm::__construct in JSON:API Image Styles 2.0.x
Constructs a \Drupal\system\ConfigFormBase object.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects.
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: Entity type manager.
Overrides ConfigFormBase::__construct
File
- src/
Form/ JsonApiImageStylesAdminForm.php, line 31
Class
- JsonApiImageStylesAdminForm
- Provides an admin form for modifying the module configuration.
Namespace
Drupal\jsonapi_image_styles\FormCode
public function __construct(ConfigFactoryInterface $config_factory, EntityTypeManagerInterface $entity_type_manager) {
parent::__construct($config_factory);
$this->entityTypeManager = $entity_type_manager;
}