You are here

function pwa_block_configure in Progressive Web App 7.2

Implements hook_block_configure().

This hook declares configuration options for blocks provided by this module.

File

./pwa.module, line 672

Code

function pwa_block_configure($delta = '') {
  $form = [];
  if ($delta === 'pwa_register') {
    $form['pwa_block_register_informations'] = [
      '#type' => 'markup',
      '#value' => t('Add this block to include registration script of the serviceworker.'),
    ];
  }
  return $form;
}