GroupLightgalleryAutoplay.php in Lightgallery 8
Namespace
Drupal\lightgallery\GroupFile
src/Group/GroupLightgalleryAutoplay.phpView source
<?php
namespace Drupal\lightgallery\Group;
use Drupal\lightgallery\Field\FieldAutoplay;
/**
* Group light gallery autoplay.
*/
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();
}
}
Classes
Name![]() |
Description |
---|---|
GroupLightgalleryAutoplay | Group light gallery autoplay. |