You are here

public function GroupLightgalleryHash::getOpenValue in Lightgallery 8

Returns value where "open" property is dependent to.

Overrides GroupBase::getOpenValue

File

src/Group/GroupLightgalleryHash.php, line 29

Class

GroupLightgalleryHash
Group light gallery hash.

Namespace

Drupal\lightgallery\Group

Code

public function getOpenValue() {

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