entity_test.schema.yml

Same filename and directory in other branches
  1. 11.x core/modules/system/tests/modules/entity_test/config/schema/entity_test.schema.yml
  2. 10 core/modules/system/tests/modules/entity_test/config/schema/entity_test.schema.yml
  3. 9 core/modules/system/tests/modules/entity_test/config/schema/entity_test.schema.yml
  4. 8.9.x core/modules/system/tests/modules/entity_test/config/schema/entity_test.schema.yml
core/modules/system/tests/modules/entity_test/config/schema/entity_test.schema.yml

File

core/modules/system/tests/modules/entity_test/config/schema/entity_test.schema.yml

View source
  1. core.entity_view_display.*.*.*.third_party.entity_test:
  2. type: mapping
  3. label: 'Schema for entity_test module additions to entity_view_display entity'
  4. mapping:
  5. foo:
  6. type: string
  7. label: 'Label for foo'
  8. noun:
  9. type: string
  10. label: 'A noun'
  11. verb:
  12. type: string
  13. label: 'A verb'
  14. field.storage_settings.shape:
  15. type: mapping
  16. label: 'Shape field storage settings'
  17. mapping:
  18. foreign_key_name:
  19. type: string
  20. label: 'Foreign key name'
  21. entity_test.entity_test_bundle.*:
  22. type: config_entity
  23. label: 'Entity test bundle'
  24. mapping:
  25. label:
  26. type: label
  27. label: 'Label'
  28. id:
  29. type: string
  30. label: 'Machine-readable name'
  31. description:
  32. type: text
  33. label: 'Description'
  34. entity_test.entity_test_mul_bundle.*:
  35. type: entity_test.entity_test_bundle.*
  36. label: 'Entity test mul bundle'
  37. entity_test.entity_test_no_id_bundle.*:
  38. type: config_entity
  39. label: 'Entity test no ID bundle'
  40. mapping:
  41. label:
  42. type: label
  43. label: 'Label'
  44. id:
  45. type: string
  46. label: 'Machine-readable name'
  47. block.settings.entity_test_block:
  48. type: block_settings
  49. label: 'Entity test block'
  50. mapping:
  51. entity_type_id:
  52. type: string
  53. label: 'Entity type ID'
  54. entity_id:
  55. type: integer
  56. label: 'Entity ID'

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.