You are here

protected function PhotoswipeFieldFormatter::getImageStyles in PhotoSwipe 3.x

Get default image styles.

Return value

array Image styles.

2 calls to PhotoswipeFieldFormatter::getImageStyles()
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.
1 method overrides PhotoswipeFieldFormatter::getImageStyles()
PhotoswipeResponsiveFieldFormatter::getImageStyles in src/Plugin/Field/FieldFormatter/PhotoswipeResponsiveFieldFormatter.php
Get default image styles.

File

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

Class

PhotoswipeFieldFormatter
Plugin implementation of the 'photoswipe_field_formatter' formatter.

Namespace

Drupal\photoswipe\Plugin\Field\FieldFormatter

Code

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