You are here

public function PhotoswipeAssetsManager::isAttached in PhotoSwipe 8.2

Same name and namespace in other branches
  1. 8 src/PhotoswipeAssetsManager.php \Drupal\photoswipe\PhotoswipeAssetsManager::isAttached()
  2. 3.x src/PhotoswipeAssetsManager.php \Drupal\photoswipe\PhotoswipeAssetsManager::isAttached()

Are photoswipe assets attached to this page in this request?.

Return value

bool Whether photoswipe assets attached to this page or not.

Overrides PhotoswipeAssetsManagerInterface::isAttached

File

src/PhotoswipeAssetsManager.php, line 73

Class

PhotoswipeAssetsManager
Photoswipe asset manager.

Namespace

Drupal\photoswipe

Code

public function isAttached() {
  return $this->attached;
}