33 lines
997 B
YAML
33 lines
997 B
YAML
Trinity\Bundle\ContentManagerBundle\Model\Node:
|
|
properties:
|
|
title:
|
|
- NotBlank: ~
|
|
http_method:
|
|
- Choice: { callback: [Trinity\Bundle\ContentManagerBundle\Form\Type\NodeType, validatorGetHttpMethods] }
|
|
format:
|
|
- Choice: { callback: [Trinity\Bundle\ContentManagerBundle\Form\Type\NodeType, validatorFormats] }
|
|
route_name:
|
|
- Regex:
|
|
pattern: "/^[a-zA-Z0-9_\.]+$/"
|
|
match: true
|
|
controller:
|
|
- Regex:
|
|
pattern: "/^[\\a-zA-Z0-9:]+$/"
|
|
match: true
|
|
|
|
Trinity\Bundle\ContentManagerBundle\Model\Page:
|
|
properties:
|
|
|
|
Trinity\Bundle\ContentManagerBundle\Model\Nav:
|
|
# getters:
|
|
# domainAndCultureValid:
|
|
# - 'False': { message: "The couple domain/culture must be defined and unique." }
|
|
properties:
|
|
name:
|
|
- NotBlank: ~
|
|
title:
|
|
- NotBlank: ~
|
|
domain:
|
|
- NotBlank: ~
|
|
|