You are here

class GroupLightgalleryAutoplay in Lightgallery 8

Group light gallery autoplay.

Hierarchy

Expanded class hierarchy of GroupLightgalleryAutoplay

4 files declare their use of GroupLightgalleryAutoplay
FieldAutoplay.php in src/Field/FieldAutoplay.php
FieldAutoplayControls.php in src/Field/FieldAutoplayControls.php
FieldPause.php in src/Field/FieldPause.php
FieldProgress.php in src/Field/FieldProgress.php

File

src/Group/GroupLightgalleryAutoplay.php, line 10

Namespace

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

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

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

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

    /** @var \Drupal\lightgallery\Field\FieldInterface $field */
    $field = new FieldAutoplay();
    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
GroupLightgalleryAutoplay::getName public function Returns name. Overrides GroupInterface::getName
GroupLightgalleryAutoplay::getOpenValue public function Returns value where "open" property is dependent to. Overrides GroupBase::getOpenValue
GroupLightgalleryAutoplay::getTitle public function Returns title. Overrides GroupInterface::getTitle