You are here

public function MenuPosition::defaultConfiguration in Menu Condition 8

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides ConditionPluginBase::defaultConfiguration

File

src/Plugin/Condition/MenuPosition.php, line 164

Class

MenuPosition
Provides a 'Menu position' condition.

Namespace

Drupal\menu_condition\Plugin\Condition

Code

public function defaultConfiguration() {
  return [
    'menu_parent' => '',
  ] + parent::defaultConfiguration();
}