public function SiteInfoBlock::defaultConfiguration in Express 8
Gets default configuration for this plugin.
Return value
array An associative array with the default configuration.
Overrides BlockPluginTrait::defaultConfiguration
File
- modules/
custom/ express_site_info/ src/ Plugin/ Block/ SiteInfoBlock.php, line 77
Class
- SiteInfoBlock
- Provides the Express Site Info Block.
Namespace
Drupal\express_site_info\Plugin\BlockCode
public function defaultConfiguration() {
$default_config = \Drupal::config('express_site_info.settings');
return array(
'contact_info' => $default_config
->get('express_site_info.contact_info'),
);
}