You are here

public function ManagedAdBlock::defaultConfiguration in Google AdSense integration 8

Overrides BlockPluginTrait::defaultConfiguration

File

src/Plugin/Block/ManagedAdBlock.php, line 66

Class

ManagedAdBlock
Provides an AdSense managed ad block.

Namespace

Drupal\adsense\Plugin\Block

Code

public function defaultConfiguration() {
  return [
    'ad_slot' => '',
    'ad_format' => 'responsive',
    'ad_width' => '',
    'ad_height' => '',
    'ad_shape' => 'auto',
    'ad_layout_key' => '',
    'ad_align' => 'center',
  ];
}