You are here

class SlickImageFormatter in Slick Carousel 8

Same name and namespace in other branches
  1. 8.2 src/Plugin/Field/FieldFormatter/SlickImageFormatter.php \Drupal\slick\Plugin\Field\FieldFormatter\SlickImageFormatter
  2. 7.3 src/Plugin/Field/FieldFormatter/SlickImageFormatter.php \Drupal\slick\Plugin\Field\FieldFormatter\SlickImageFormatter

Plugin implementation of the 'Slick Image' formatter.

Plugin annotation


@FieldFormatter(
  id = "slick_image",
  label = @Translation("Slick Image"),
  description = @Translation("Display the images as a Slick carousel."),
  field_types = {"image"},
  quickedit = {"editor" = "disabled"}
)

Hierarchy

Expanded class hierarchy of SlickImageFormatter

File

src/Plugin/Field/FieldFormatter/SlickImageFormatter.php, line 16

Namespace

Drupal\slick\Plugin\Field\FieldFormatter
View source
class SlickImageFormatter extends SlickFileFormatterBase {
  use SlickFormatterTrait;

}

Members

Namesort descending Modifiers Type Description Overrides
SlickFileFormatterBase::buildElements public function Build the slick carousel elements.
SlickFileFormatterBase::create public static function
SlickFileFormatterBase::defaultSettings public static function
SlickFileFormatterBase::getScopedFormElements public function 1
SlickFileFormatterBase::viewElements public function
SlickFileFormatterBase::__construct public function Constructs a SlickImageFormatter instance.
SlickFormatterTrait::$formatter protected property The slick field formatter manager.
SlickFormatterTrait::$manager protected property The slick field formatter manager.
SlickFormatterTrait::admin public function Returns the slick admin service shortcut.
SlickFormatterTrait::formatter public function Returns the slick field formatter service.
SlickFormatterTrait::isApplicable public static function 1
SlickFormatterTrait::manager public function Returns the slick service.
SlickFormatterTrait::settingsSummary public function