You are here

public function PhotoswipeAssetsManagerInterface::attach in PhotoSwipe 8.2

Same name and namespace in other branches
  1. 8 src/PhotoswipeAssetsManagerInterface.php \Drupal\photoswipe\PhotoswipeAssetsManagerInterface::attach()
  2. 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\photoswipe

Code

public function attach(array &$element);