You are here

function pwa_extras_apple_touch_icons in Progressive Web App 8

Same name and namespace in other branches
  1. 2.x modules/pwa_extras/pwa_extras.module \pwa_extras_apple_touch_icons()
2 calls to pwa_extras_apple_touch_icons()
PwaExtrasSettingsForm::buildForm in modules/pwa_extras/src/Form/PwaExtrasSettingsForm.php
Form constructor.
pwa_extras_tag_list in modules/pwa_extras/pwa_extras.module

File

modules/pwa_extras/pwa_extras.module, line 59
Contains pwa_extras.module

Code

function pwa_extras_apple_touch_icons() {
  $config = \Drupal::config('pwa.config');
  return [
    'touch-icon-default' => '<link rel="apple-touch-icon" sizes="192x192" href="' . $config
      ->get('image_small') . '">',
  ];
}