You are here

public function GroupLightgalleryAutoplay::getOpenValue in Lightgallery 8

Returns value where "open" property is dependent to.

Overrides GroupBase::getOpenValue

File

src/Group/GroupLightgalleryAutoplay.php, line 29

Class

GroupLightgalleryAutoplay
Group light gallery autoplay.

Namespace

Drupal\lightgallery\Group

Code

public function getOpenValue() {

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