Skip to content
Permalink
Browse files

Translatable: Require language instead of having default

  • Loading branch information...
mabar authored and f3l1x committed Jun 16, 2019
1 parent 2b37e12 commit 434c725b76c1b7f1ba9ff4ccdf3ea78d05f6d048
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/DI/DoctrineExtensionsExtension.php
@@ -35,8 +35,8 @@ public function getConfigSchema(): Schema
'blameable' => Expect::bool(false),
'timestampable' => Expect::bool(false),
'translatable' => Expect::anyOf(false, Expect::structure([
'translatable' => Expect::string('cs_CZ'),
'default' => Expect::string('cs_CZ'),
'translatable' => Expect::string()->required(),
'default' => Expect::string()->required(),
'translationFallback' => Expect::bool(false),
'persistDefaultTranslation' => Expect::bool(false),
'skipOnLoad' => Expect::bool(false),

0 comments on commit 434c725

Please sign in to comment.
You can’t perform that action at this time.