You are here

public function OgMenuBlock::defaultConfiguration in Organic Groups Menu (OG Menu) 8

Overrides BlockPluginTrait::defaultConfiguration

1 call to OgMenuBlock::defaultConfiguration()
OgMenuBlock::blockForm in src/Plugin/Block/OgMenuBlock.php

File

src/Plugin/Block/OgMenuBlock.php, line 232

Class

OgMenuBlock
Provides a generic Menu block.

Namespace

Drupal\og_menu\Plugin\Block

Code

public function defaultConfiguration() {
  return [
    'level' => 1,
    'depth' => 0,
  ];
}