public function BlazyTextFormatter::getRequiredForms in Blazy 7
Returns required form elements for the current formatter.
Overrides FormatterBase::getRequiredForms
File
- src/
Plugin/ Field/ FieldFormatter/ BlazyTextFormatter.php, line 34
Class
- BlazyTextFormatter
- Plugin implementation of the 'Blazy Text' formatter to have a grid of texts.
Namespace
Drupal\blazy\Plugin\Field\FieldFormatterCode
public function getRequiredForms() {
return [
'grid' => $this->isMultiple,
];
}