ImageToolkitInterface

Defines an interface for image toolkits. An image toolkit provides common image file manipulations like scaling, cropping, and rotating. Hierarchy interface \Drupal\Core\Plugin\ContainerFactoryPluginInterface; interface \Drupal\Component\Plugin\PluginInspectionInterface; interface \Drupal\Core\Plugin\PluginFormInterfaceinterface \Drupal\Core\ImageToolkit\ImageToolkitInterface See also \Drupal\Core\ImageToolkit\Annotation\ImageToolkit \Drupal\Core\ImageToolkit\ImageToolkitBase \Drupal\Core\

ImageToolkitForm::__construct

public ImageToolkitForm::__construct(ConfigFactoryInterface $config_factory, ImageToolkitManager $manager) Constructs a ImageToolkitForm object. Parameters \Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects. \Drupal\Core\ImageToolkit\ImageToolkitManager $manager: The image toolkit plugin manager. Overrides ConfigFormBase::__construct File core/modules/system/src/Form/ImageToolkitForm.php, line 31 Class ImageToolkitForm Configures image toolki

ImageToolkitForm::validateForm

public ImageToolkitForm::validateForm(array &$form, FormStateInterface $form_state) Form validation handler. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Overrides FormBase::validateForm File core/modules/system/src/Form/ImageToolkitForm.php, line 101 Class ImageToolkitForm Configures image toolkit settings for this site. Namespace Drupal\system\Form Code public f

ImageToolkitForm::submitForm

public ImageToolkitForm::submitForm(array &$form, FormStateInterface $form_state) Form submission handler. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Overrides ConfigFormBase::submitForm File core/modules/system/src/Form/ImageToolkitForm.php, line 113 Class ImageToolkitForm Configures image toolkit settings for this site. Namespace Drupal\system\Form Code public

ImageToolkitForm::getFormId

public ImageToolkitForm::getFormId() Returns a unique string identifying the form. Return value string The unique string identifying the form. Overrides FormInterface::getFormId File core/modules/system/src/Form/ImageToolkitForm.php, line 52 Class ImageToolkitForm Configures image toolkit settings for this site. Namespace Drupal\system\Form Code public function getFormId() { return 'system_image_toolkit_settings'; }

ImageToolkitForm::getEditableConfigNames

protected ImageToolkitForm::getEditableConfigNames() Gets the configuration names that will be editable. Return value array An array of configuration object names that are editable if called in conjunction with the trait's config() method. Overrides ConfigFormBaseTrait::getEditableConfigNames File core/modules/system/src/Form/ImageToolkitForm.php, line 59 Class ImageToolkitForm Configures image toolkit settings for this site. Namespace Drupal\system\Form Code protected function getEdi

ImageToolkitForm::create

public static ImageToolkitForm::create(ContainerInterface $container) Instantiates a new instance of this class. This is a factory method that returns a new instance of this class. The factory should pass any needed dependencies into the constructor of this class, but not the container itself. Every call to this method must return a new instance of this class; that is, it may not implement a singleton. Parameters \Symfony\Component\DependencyInjection\ContainerInterface $container: The service

ImageToolkitForm::buildForm

public ImageToolkitForm::buildForm(array $form, FormStateInterface $form_state) Form constructor. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Return value array The form structure. Overrides ConfigFormBase::buildForm File core/modules/system/src/Form/ImageToolkitForm.php, line 66 Class ImageToolkitForm Configures image toolkit settings for this site. Namespace Drupal

ImageToolkitForm::$availableToolkits

An array containing currently available toolkits. Type: \Drupal\Core\ImageToolkit\ImageToolkitInterface[] File core/modules/system/src/Form/ImageToolkitForm.php, line 21 Class ImageToolkitForm Configures image toolkit settings for this site. Namespace Drupal\system\Form Code protected $availableToolkits = array();

ImageToolkitForm

Configures image toolkit settings for this site. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\Core\Form\ConfigFormBase uses ConfigFormBaseTraitclass \Drupal\system\Form\ImageToolkitForm File core/modules/system/src/Form/ImageToolkitForm.php, line 14 Namespace Drupal\system\Form M