You are here

protected function PhotoswipeFieldFormatter::getPhotoSwipeStyles in PhotoSwipe 3.x

Get image styles for the photoswipe.

Return value

array Image styles.

2 calls to PhotoswipeFieldFormatter::getPhotoSwipeStyles()
PhotoswipeFieldFormatter::settingsForm in src/Plugin/Field/FieldFormatter/PhotoswipeFieldFormatter.php
Returns a form to configure settings for the formatter.
PhotoswipeFieldFormatter::settingsSummary in src/Plugin/Field/FieldFormatter/PhotoswipeFieldFormatter.php
Returns a short summary for the current formatter settings.

File

src/Plugin/Field/FieldFormatter/PhotoswipeFieldFormatter.php, line 274

Class

PhotoswipeFieldFormatter
Plugin implementation of the 'photoswipe_field_formatter' formatter.

Namespace

Drupal\photoswipe\Plugin\Field\FieldFormatter

Code

protected function getPhotoSwipeStyles() {
  return image_style_options(FALSE);
}