interface PhotoswipeAssetsManagerInterface in PhotoSwipe 8
Same name and namespace in other branches
- 8.2 src/PhotoswipeAssetsManagerInterface.php \Drupal\photoswipe\PhotoswipeAssetsManagerInterface
- 3.x 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
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 |