Constructs a ImageToolkitForm object.
\Drupal\Core\Config\ConfigFactory $config_factory: The factory for configuration objects.
\Drupal\Core\Config\Context\ContextInterface $context: The configuration context used for this configuration object.
\Drupal\system\Plugin\ImageToolkitManager $manager: The image toolkit plugin manager.
Overrides SystemConfigFormBase::__construct
public function __construct(ConfigFactory $config_factory, ContextInterface $context, ImageToolkitManager $manager) {
parent::__construct($config_factory, $context);
foreach ($manager
->getAvailableToolkits() as $id => $definition) {
$this->availableToolkits[$id] = $manager
->createInstance($id);
}
}