public function MenuBlockCurrentLanguage::defaultConfiguration in Menu block current language 8
Overrides SystemMenuBlock::defaultConfiguration
File
- src/
Plugin/ Block/ MenuBlockCurrentLanguage.php, line 146
Class
- MenuBlockCurrentLanguage
- Provides a generic Menu block.
Namespace
Drupal\menu_block_current_language\Plugin\BlockCode
public function defaultConfiguration() {
// Translate views and menu link content links by default.
$config = [
'translation_providers' => [
'views' => 'views',
'menu_link_content' => 'menu_link_content',
'default' => 0,
],
];
return $config + parent::defaultConfiguration();
}