interface ManifestInterface in Progressive Web App 8
Same name and namespace in other branches
- 2.x src/ManifestInterface.php \Drupal\pwa\ManifestInterface
Manifest JSON building service.
Hierarchy
- interface \Drupal\pwa\ManifestInterface
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\pwaView 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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ManifestInterface:: |
public | function | Deletes the images that are used for the manifest file. | 1 |
ManifestInterface:: |
public | function | Build the manifest json string based on the configuration. | 1 |