Validator calls
In
ValidationListener.php
line ():
No violations
if ($form->isRoot()) {
// Form groups are validated internally (FormValidator). Here we don't set groups as they are retrieved into the validator.
foreach ($this->validator->validate($form) as $violation) {
// Allow the "invalid" constraint to be put onto
// non-synchronized forms
$allowNonSynchronized = $violation->getConstraint() instanceof Form && Form::NOT_SYNCHRONIZED_ERROR === $violation->getCode();
[ "value" => Symfony\Component\Form\Form {#5080 name: "page_document" type_class: "Sulu\Bundle\PageBundle\Form\Type\PageDocumentType" data: Sulu\Bundle\PageBundle\Document\PageDocument {#3071 #nodeName: "kids-and-family" #created: DateTime @1737551509 {#2710 date: 2025-01-22 14:11:49.679 +01:00 } #changed: DateTime @1745292535 {#5291 date: 2025-04-22 05:28:55.480191 Europe/Zurich (+02:00) } #creator: 1 #changer: 1 #title: "kids and family" #resourceSegment: "/kids-and-family" #navigationContexts: [] #redirectType: 1 #redirectTarget: null #redirectExternal: null #workflowStage: 2 #published: DateTime @1737551509 {#2722 date: 2025-01-22 14:11:49.720 +01:00 } #shadowLocaleEnabled: false #shadowLocale: null #uuid: "4178f463-da81-4e9b-becf-83612f69f014" #structureType: "kids-and-family" #structure: Sulu\Component\Content\Document\Structure\ManagedStructure {#3050 …} #locale: "en" #originalLocale: "en" #children: Sulu\Component\DocumentManager\Collection\ChildrenCollection {#4557 …} #path: "/cmf/montcaud/contents/kids-and-family" #extensions: Sulu\Component\Content\Document\Extension\ManagedExtensionContainer {#8506 …} #webspaceName: "montcaud" #suluOrder: 140 #permissions: [] #versions: [] #lastModified: null #authored: DateTime @1737551509 {#2705 date: 2025-01-22 14:11:49.0 +01:00 } #author: "1" -parent: ProxyManagerGeneratedProxy\__PM__\Sulu\Bundle\PageBundle\Document\HomeDocument\Generated9c84e51e53a244dbdd66868ef43b1c98 {#3130 …} } } "constraints" => null "groups" => null ]