public static function JqueryColorPicker::isAvailable in Image Effects 8.2
Same name and namespace in other branches
- 8.3 src/Plugin/image_effects/ColorSelector/JqueryColorPicker.php \Drupal\image_effects\Plugin\image_effects\ColorSelector\JqueryColorPicker::isAvailable()
- 8 src/Plugin/image_effects/ColorSelector/JqueryColorPicker.php \Drupal\image_effects\Plugin\image_effects\ColorSelector\JqueryColorPicker::isAvailable()
Determines if plugin can be used.
Return value
bool TRUE if the plugin is available.
Overrides ImageEffectsPluginBase::isAvailable
File
- src/
Plugin/ image_effects/ ColorSelector/ JqueryColorPicker.php, line 37
Class
- JqueryColorPicker
- JQuery Colorpicker color selector plugin.
Namespace
Drupal\image_effects\Plugin\image_effects\ColorSelectorCode
public static function isAvailable() {
return \Drupal::service('module_handler')
->moduleExists('jquery_colorpicker');
}