class GroupLightgalleryHash in Lightgallery 8
Group light gallery hash.
Hierarchy
- class \Drupal\lightgallery\Group\GroupBase implements GroupInterface
- class \Drupal\lightgallery\Group\GroupLightgalleryHash
Expanded class hierarchy of GroupLightgalleryHash
2 files declare their use of GroupLightgalleryHash
- FieldGalleryId.php in src/
Field/ FieldGalleryId.php - FieldHash.php in src/
Field/ FieldHash.php
File
- src/
Group/ GroupLightgalleryHash.php, line 10
Namespace
Drupal\lightgallery\GroupView source
class GroupLightgalleryHash extends GroupBase {
/**
* {@inheritdoc}
*/
public function getName() {
return GroupsEnum::LIGHTGALLERY_HASH;
}
/**
* {@inheritdoc}
*/
public function getTitle() {
return 'Lightgallery hash settings';
}
/**
* {@inheritdoc}
*/
public function getOpenValue() {
/** @var \Drupal\lightgallery\Field\FieldInterface $field */
$field = new FieldHash();
return $field
->getName();
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
GroupBase:: |
public | function |
Boolean indicating if "details" have to be open. Overrides GroupInterface:: |
1 |
GroupLightgalleryHash:: |
public | function |
Returns name. Overrides GroupInterface:: |
|
GroupLightgalleryHash:: |
public | function |
Returns value where "open" property is dependent to. Overrides GroupBase:: |
|
GroupLightgalleryHash:: |
public | function |
Returns title. Overrides GroupInterface:: |