protected function BackgroundImageTextBlock::baseConfigurationDefaults in Background Image 8
Same name and namespace in other branches
- 2.x src/Plugin/Block/BackgroundImageTextBlock.php \Drupal\background_image\Plugin\Block\BackgroundImageTextBlock::baseConfigurationDefaults()
 - 2.0.x src/Plugin/Block/BackgroundImageTextBlock.php \Drupal\background_image\Plugin\Block\BackgroundImageTextBlock::baseConfigurationDefaults()
 
Returns generic default configuration for block plugins.
Return value
array An associative array with the default configuration.
Overrides BlockPluginTrait::baseConfigurationDefaults
File
- src/
Plugin/ Block/ BackgroundImageTextBlock.php, line 21  
Class
- BackgroundImageTextBlock
 - Plugin annotation @Block( id = "background_image_text", admin_label = @Translation("Background Image - Text"), category = @Translation("Background Image") )
 
Namespace
Drupal\background_image\Plugin\BlockCode
protected function baseConfigurationDefaults() {
  $defaults = parent::baseConfigurationDefaults();
  $defaults['label_display'] = 'hidden';
  return $defaults;
}