FieldMouseWheel.php in Lightgallery 8
File
src/Field/FieldMouseWheel.php
View source
<?php
namespace Drupal\lightgallery\Field;
use Drupal\lightgallery\Group\GroupLightgalleryCore;
class FieldMouseWheel extends FieldBase {
protected function setName() {
return 'mouse_wheel';
}
protected function setTitle() {
return 'Mouse wheel';
}
protected function setType() {
return FieldTypesEnum::CHECKBOX;
}
protected function setDescription() {
return 'Change slide on mousewheel.';
}
protected function setGroup() {
return new GroupLightgalleryCore();
}
}