interface PhotoswipeAssetsManagerInterface in PhotoSwipe 3.x
Same name and namespace in other branches
- 8.2 src/PhotoswipeAssetsManagerInterface.php \Drupal\photoswipe\PhotoswipeAssetsManagerInterface
- 8 src/PhotoswipeAssetsManagerInterface.php \Drupal\photoswipe\PhotoswipeAssetsManagerInterface
Interface for photoswipe assets manager.
Hierarchy
- interface \Drupal\photoswipe\PhotoswipeAssetsManagerInterface
Expanded class hierarchy of PhotoswipeAssetsManagerInterface
All classes that implement PhotoswipeAssetsManagerInterface
1 file declares its use of PhotoswipeAssetsManagerInterface
- PhotoswipeFieldFormatter.php in src/
Plugin/ Field/ FieldFormatter/ PhotoswipeFieldFormatter.php
File
- src/
PhotoswipeAssetsManagerInterface.php, line 8
Namespace
Drupal\photoswipeView source
interface PhotoswipeAssetsManagerInterface {
/**
* Attach photoswipe assets.
*
* @param array $element
* The render array to attach photoswipe assets to.
*/
public function attach(array &$element);
/**
* Are photoswipe assets attached to this page in this request?.
*
* @return bool
* Whether photoswipe assets attached to this page or not.
*/
public function isAttached();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
PhotoswipeAssetsManagerInterface:: |
public | function | Attach photoswipe assets. | 1 |
PhotoswipeAssetsManagerInterface:: |
public | function | Are photoswipe assets attached to this page in this request?. | 1 |