class FieldLightgalleryImageStyle in Lightgallery 8
Field light gallery image style.
Hierarchy
- class \Drupal\lightgallery\Field\FieldBase implements FieldInterface
- class \Drupal\lightgallery\Field\FieldLightgalleryImageStyle
 
 
Expanded class hierarchy of FieldLightgalleryImageStyle
2 files declare their use of FieldLightgalleryImageStyle
- LightgalleryFormatter.php in src/
Plugin/ Field/ FieldFormatter/ LightgalleryFormatter.php  - LightgalleryManager.php in src/
Manager/ LightgalleryManager.php  
File
- src/
Field/ FieldLightgalleryImageStyle.php, line 10  
Namespace
Drupal\lightgallery\FieldView source
class FieldLightgalleryImageStyle extends FieldBase {
  /**
   * {@inheritdoc}
   */
  public function appliesToViews() {
    return FALSE;
  }
  /**
   * {@inheritdoc}
   */
  protected function setDefaultValue() {
    return NULL;
  }
  /**
   * {@inheritdoc}
   */
  protected function setOptions() {
    return [
      'Drupal\\lightgallery\\Manager\\LightgalleryManager',
      'getImageStyles',
    ];
  }
  /**
   * {@inheritdoc}
   */
  protected function setName() {
    return 'lightgallery_image_style';
  }
  /**
   * {@inheritdoc}
   */
  protected function setTitle() {
    return 'Lightgallery image style';
  }
  /**
   * {@inheritdoc}
   */
  protected function setType() {
    return FieldTypesEnum::SELECT;
  }
  /**
   * {@inheritdoc}
   */
  protected function setDescription() {
    return 'The image style used when viewing the lightgallery.';
  }
  /**
   * {@inheritdoc}
   */
  protected function setGroup() {
    return new GroupLightgalleryCore();
  }
}