You are here

relation.schema.yml in Relation 8

Same filename and directory in other branches
  1. 8.2 config/schema/relation.schema.yml
config/schema/relation.schema.yml

File

config/schema/relation.schema.yml
View source
  1. # Schema for the configuration files of the Relation module.
  2. relation.type.*:
  3. type: config_entity
  4. label: 'Relation type'
  5. mapping:
  6. id:
  7. type: string
  8. label: 'Machine-readable name'
  9. label:
  10. type: label
  11. label: 'Name'
  12. reverse_label:
  13. type: label
  14. label: 'Reverse label'
  15. directional:
  16. type: boolean
  17. label: 'Whether this type is directional.'
  18. transitive:
  19. type: boolean
  20. label: 'Whether this type is transitive.'
  21. r_unique:
  22. type: boolean
  23. label: 'Whether relations are unique.'
  24. min_arity:
  25. type: integer
  26. label: 'Minimum number of entities'
  27. max_arity:
  28. type: integer
  29. label: 'Maximum number of entities'
  30. source_bundles:
  31. type: sequence
  32. label: 'Allowed bundles of related entities'
  33. sequence:
  34. type: string
  35. label: 'Source bundle'
  36. target_bundles:
  37. type: sequence
  38. label: 'Target bundles of related entities'
  39. sequence:
  40. type: string
  41. label: 'Target bundle'