You are here

function _pwa_apple_drusplash_list in Progressive Web App 7.2

@file

2 calls to _pwa_apple_drusplash_list()
pwa_admin_generate_drusplash in ./pwa.admin.inc
_pwa_apple_html_head_alter in includes/pwa.apple.inc
Add apple specific variables.

File

includes/pwa.apple.inc, line 6

Code

function _pwa_apple_drusplash_list() {
  $cid = 'pwa:apple';
  if ($data = cache_get($cid, 'cache')) {
    $data = $data->data;
  }
  else {
    $manifest = pwa_file_data('manifest');
    $data = _pwa_apple_splash_screens_meta($manifest);
    cache_set($cid, $data, 'cache');
  }
  return $data;
}