You are here

interface PhotoswipeAssetsManagerInterface in PhotoSwipe 3.x

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

Interface for photoswipe assets manager.

Hierarchy

Expanded class hierarchy of PhotoswipeAssetsManagerInterface

All classes that implement PhotoswipeAssetsManagerInterface

1 file declares its use of PhotoswipeAssetsManagerInterface
PhotoswipeFieldFormatter.php in src/Plugin/Field/FieldFormatter/PhotoswipeFieldFormatter.php

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