public function PhotoswipeAssetsManagerInterface::attach in PhotoSwipe 8.2
Same name and namespace in other branches
- 8 src/PhotoswipeAssetsManagerInterface.php \Drupal\photoswipe\PhotoswipeAssetsManagerInterface::attach()
- 3.x src/PhotoswipeAssetsManagerInterface.php \Drupal\photoswipe\PhotoswipeAssetsManagerInterface::attach()
Attach photoswipe assets.
Parameters
array $element: The render array to attach photoswipe assets to.
1 method overrides PhotoswipeAssetsManagerInterface::attach()
- PhotoswipeAssetsManager::attach in src/
PhotoswipeAssetsManager.php - Attach photoswipe assets.
File
- src/
PhotoswipeAssetsManagerInterface.php, line 16
Class
- PhotoswipeAssetsManagerInterface
- Interface for photoswipe assets manager.
Namespace
Drupal\photoswipeCode
public function attach(array &$element);