You are here

public function MenuMultilingualBlockTrait::defaultConfiguration in Menu Multilingual 8

File

src/Plugin/Block/MenuMultilingualBlockTrait.php, line 61

Class

MenuMultilingualBlockTrait
Create admin users.

Namespace

Drupal\menu_multilingual\Plugin\Block

Code

public function defaultConfiguration() {
  $default = parent::defaultConfiguration();
  $default += [
    'only_translated_labels' => 0,
    'only_translated_content' => 0,
  ];
  return $default;
}