You are here

GroupLightgalleryZoom.php in Lightgallery 8

File

src/Group/GroupLightgalleryZoom.php
View source
<?php

namespace Drupal\lightgallery\Group;

use Drupal\lightgallery\Field\FieldZoom;

/**
 * Group light gallery zoom.
 */
class GroupLightgalleryZoom extends GroupBase {

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

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

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

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

}

Classes

Namesort descending Description
GroupLightgalleryZoom Group light gallery zoom.