public function ImageEffectsUninstallValidator::__construct in Image Effects 8.2
Same name in this branch
- 8.2 src/ImageEffectsUninstallValidator.php \Drupal\image_effects\ImageEffectsUninstallValidator::__construct()
- 8.2 src/ProxyClass/ImageEffectsUninstallValidator.php \Drupal\image_effects\ProxyClass\ImageEffectsUninstallValidator::__construct()
Same name and namespace in other branches
- 8.3 src/ImageEffectsUninstallValidator.php \Drupal\image_effects\ImageEffectsUninstallValidator::__construct()
- 8 src/ImageEffectsUninstallValidator.php \Drupal\image_effects\ImageEffectsUninstallValidator::__construct()
Constructs a new ImageEffectsUninstallValidator.
Parameters
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The configuration factory.
\Drupal\Core\StringTranslation\TranslationInterface $string_translation: The string translation service.
File
- src/
ImageEffectsUninstallValidator.php, line 32
Class
- ImageEffectsUninstallValidator
- Prevents uninstalling modules that Image Effects configuration require.
Namespace
Drupal\image_effectsCode
public function __construct(ConfigFactoryInterface $config_factory, TranslationInterface $string_translation) {
$this->configFactory = $config_factory;
$this->stringTranslation = $string_translation;
}