You are here

interface PhotoswipeAssetsManagerInterface in PhotoSwipe 8

Same name and namespace in other branches
  1. 8.2 src/PhotoswipeAssetsManagerInterface.php \Drupal\photoswipe\PhotoswipeAssetsManagerInterface
  2. 3.x src/PhotoswipeAssetsManagerInterface.php \Drupal\photoswipe\PhotoswipeAssetsManagerInterface

Interface for photoswipe assets manager.

Hierarchy

Expanded class hierarchy of PhotoswipeAssetsManagerInterface

All classes that implement PhotoswipeAssetsManagerInterface

File

src/PhotoswipeAssetsManagerInterface.php, line 8

Namespace

Drupal\photoswipe
View 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

Namesort descending Modifiers Type Description Overrides
PhotoswipeAssetsManagerInterface::attach public function Attach photoswipe assets. 1
PhotoswipeAssetsManagerInterface::isAttached public function Are photoswipe assets attached to this page in this request?. 1