You are here

public function SlickTextFormatter::getRequiredForms in Slick Carousel 7.3

Returns required form elements for the current formatter.

Overrides FormatterBase::getRequiredForms

File

src/Plugin/Field/FieldFormatter/SlickTextFormatter.php, line 36

Class

SlickTextFormatter
Plugin implementation of the 'Slick Text' formatter.

Namespace

Drupal\slick\Plugin\Field\FieldFormatter

Code

public function getRequiredForms() {
  return [
    'grid' => $this->isMultiple,
  ];
}