You are here

interface ManifestInterface in Progressive Web App 8

Same name and namespace in other branches
  1. 2.x src/ManifestInterface.php \Drupal\pwa\ManifestInterface

Manifest JSON building service.

Hierarchy

Expanded class hierarchy of ManifestInterface

All classes that implement ManifestInterface

2 files declare their use of ManifestInterface
ConfigurationForm.php in src/Form/ConfigurationForm.php
PWAController.php in src/Controller/PWAController.php
Replace values in serviceworker.js

File

src/ManifestInterface.php, line 8

Namespace

Drupal\pwa
View source
interface ManifestInterface {

  /**
   * Build the manifest json string based on the configuration.
   *
   * @return string
   *   Manifest JSON string.
   */
  public function getOutput();

  /**
   * Deletes the images that are used for the manifest file.
   */
  public function deleteImage();

}

Members

Namesort descending Modifiers Type Description Overrides
ManifestInterface::deleteImage public function Deletes the images that are used for the manifest file. 1
ManifestInterface::getOutput public function Build the manifest json string based on the configuration. 1