public static function ImceFileField::isWidgetSupported in IMCE 8
Same name and namespace in other branches
- 8.2 src/ImceFileField.php \Drupal\imce\ImceFileField::isWidgetSupported()
Checks if a widget is supported.
2 calls to ImceFileField::isWidgetSupported()
- ImceFileField::alterWidgetSettingsSummary in src/
ImceFileField.php - Alters the summary of widget settings form.
- ImceFileField::widgetSettingsForm in src/
ImceFileField.php - Returns widget settings form.
File
- src/
ImceFileField.php, line 30
Class
- ImceFileField
- Defines methods for integrating Imce into file field widgets.
Namespace
Drupal\imceCode
public static function isWidgetSupported(WidgetInterface $widget) {
return in_array($widget
->getPluginId(), static::supportedWidgets());
}