You are here

class GroupLightgalleryHash in Lightgallery 8

Group light gallery hash.

Hierarchy

Expanded class hierarchy of GroupLightgalleryHash

2 files declare their use of GroupLightgalleryHash
FieldGalleryId.php in src/Field/FieldGalleryId.php
FieldHash.php in src/Field/FieldHash.php

File

src/Group/GroupLightgalleryHash.php, line 10

Namespace

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

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

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

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

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