You are here

public function AddToHomeScreenBlock::defaultConfiguration in Progressive Web App 8

Overrides BlockPluginTrait::defaultConfiguration

File

modules/pwa_a2hs/src/Plugin/Block/AddToHomeScreenBlock.php, line 22

Class

AddToHomeScreenBlock
Provides an Add to Home Screen block.

Namespace

Drupal\pwa_a2hs\Plugin\Block

Code

public function defaultConfiguration() {
  return [
    'button_text' => 'Install app',
  ] + parent::defaultConfiguration();
}