protected function FrontendEnvironmentBase::baseConfigurationDefaults in Build Hooks 8.2
Same name and namespace in other branches
- 3.x 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 70
Class
- FrontendEnvironmentBase
- Base class for Frontend environment plugins.
Namespace
Drupal\build_hooks\PluginCode
protected function baseConfigurationDefaults() {
return [
'id' => $this
->getPluginId(),
'label' => '',
'provider' => $this->pluginDefinition['provider'],
];
}