You are here

public function DomainNavBlock::defaultConfiguration in Domain Access 8

Overrides BlockPluginTrait::defaultConfiguration

3 calls to DomainNavBlock::defaultConfiguration()
DomainNavBlock::blockForm in domain/src/Plugin/Block/DomainNavBlock.php
DomainNavBlock::blockSubmit in domain/src/Plugin/Block/DomainNavBlock.php
DomainNavBlock::getSetting in domain/src/Plugin/Block/DomainNavBlock.php
Gets the configuration for the block, loading defaults if not set.

File

domain/src/Plugin/Block/DomainNavBlock.php, line 185

Class

DomainNavBlock
Provides a block that links to all active domains.

Namespace

Drupal\domain\Plugin\Block

Code

public function defaultConfiguration() {
  return [
    'link_options' => 'home',
    'link_theme' => 'ul',
    'link_label' => 'name',
  ];
}