public static function GridStackFormatterTrait::isApplicable in GridStack 8.2
Same name and namespace in other branches
- 8 src/Plugin/Field/FieldFormatter/GridStackFormatterTrait.php \Drupal\gridstack\Plugin\Field\FieldFormatter\GridStackFormatterTrait::isApplicable()
4 methods override GridStackFormatterTrait::isApplicable()
- GridStackEntityFormatter::isApplicable in src/
Plugin/ Field/ FieldFormatter/ GridStackEntityFormatter.php - GridStackFileFormatter::isApplicable in src/
Plugin/ Field/ FieldFormatter/ GridStackFileFormatter.php - GridStackMediaFormatter::isApplicable in src/
Plugin/ Field/ FieldFormatter/ GridStackMediaFormatter.php - Returns if the formatter can be used for the provided field.
- GridStackParagraphsFormatter::isApplicable in src/
Plugin/ Field/ FieldFormatter/ GridStackParagraphsFormatter.php
File
- src/
Plugin/ Field/ FieldFormatter/ GridStackFormatterTrait.php, line 92
Class
- GridStackFormatterTrait
- A Trait common for gridstack formatters.
Namespace
Drupal\gridstack\Plugin\Field\FieldFormatterCode
public static function isApplicable(FieldDefinitionInterface $field_definition) {
return $field_definition
->getFieldStorageDefinition()
->isMultiple();
}