You are here

class GroupLightgalleryThumbs in Lightgallery 8

Group light gallery thumbs.

Hierarchy

Expanded class hierarchy of GroupLightgalleryThumbs

5 files declare their use of GroupLightgalleryThumbs
FieldAnimateThumb.php in src/Field/FieldAnimateThumb.php
FieldCurrentPagerPosition.php in src/Field/FieldCurrentPagerPosition.php
FieldThumbHeight.php in src/Field/FieldThumbHeight.php
FieldThumbWidth.php in src/Field/FieldThumbWidth.php
FieldUseThumbs.php in src/Field/FieldUseThumbs.php

File

src/Group/GroupLightgalleryThumbs.php, line 10

Namespace

Drupal\lightgallery\Group
View source
class GroupLightgalleryThumbs extends GroupBase {

  /**
   * {@inheritdoc}
   */
  public function getName() {
    return GroupsEnum::LIGHTGALLERY_THUMBS;
  }

  /**
   * {@inheritdoc}
   */
  public function getTitle() {
    return 'Lightgallery thumbnail settings';
  }

  /**
   * {@inheritdoc}
   */
  public function getOpenValue() {

    /** @var \Drupal\lightgallery\Field\FieldInterface $field */
    $field = new FieldUseThumbs();
    return $field
      ->getName();
  }

}

Members

Namesort descending Modifiers Type Description Overrides
GroupBase::isOpen public function Boolean indicating if "details" have to be open. Overrides GroupInterface::isOpen 1
GroupLightgalleryThumbs::getName public function Returns name. Overrides GroupInterface::getName
GroupLightgalleryThumbs::getOpenValue public function Returns value where "open" property is dependent to. Overrides GroupBase::getOpenValue
GroupLightgalleryThumbs::getTitle public function Returns title. Overrides GroupInterface::getTitle