You are here

function _pwa_manifest_file in Progressive Web App 7

Same name and namespace in other branches
  1. 7.2 pwa.module \_pwa_manifest_file()

Generate JSON of the manifest data. This is the final file used by browsers.

Return value

string

1 call to _pwa_manifest_file()
pwa_flush_caches in ./pwa.module
Implements hook_flush_caches().

File

./pwa.module, line 173

Code

function _pwa_manifest_file() {
  $manifest = _pwa_manifest_data();
  return drupal_json_encode($manifest);
}