You are here

protected function FrontendEnvironmentBase::baseConfigurationDefaults in Build Hooks 3.x

Same name and namespace in other branches
  1. 8.2 src/Plugin/FrontendEnvironmentBase.php \Drupal\build_hooks\Plugin\FrontendEnvironmentBase::baseConfigurationDefaults()

Returns generic default configuration for frontend environment plugins.

Return value

array An associative array with the default configuration.

1 call to FrontendEnvironmentBase::baseConfigurationDefaults()
FrontendEnvironmentBase::setConfiguration in src/Plugin/FrontendEnvironmentBase.php
Sets the configuration for this plugin instance.

File

src/Plugin/FrontendEnvironmentBase.php, line 71

Class

FrontendEnvironmentBase
Base class for Frontend environment plugins.

Namespace

Drupal\build_hooks\Plugin

Code

protected function baseConfigurationDefaults() {
  return [
    'id' => $this
      ->getPluginId(),
    'label' => '',
    'provider' => $this->pluginDefinition['provider'],
  ];
}