You are here

public function PhotoswipeAssetsManager::isAttached in PhotoSwipe 3.x

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

Class

PhotoswipeAssetsManager
Photoswipe asset manager.

Namespace

Drupal\photoswipe

Code

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