You are here

custom_formatters.schema.yml in Custom Formatters 8.3

config/schema/custom_formatters.schema.yml

File

config/schema/custom_formatters.schema.yml
View source
  1. # Schema for the configuration files of the custom formatters module.
  2. custom_formatters.settings:
  3. type: config_object
  4. label: 'Custom formatters settings'
  5. mapping:
  6. label_prefix:
  7. type: boolean
  8. label: 'Use Label prefix?'
  9. label_prefix_value:
  10. type: string
  11. label: 'Label prefix'
  12. custom_formatters.formatter.*:
  13. type: config_entity
  14. label: 'Custom formatter'
  15. mapping:
  16. id:
  17. type: string
  18. label: 'ID'
  19. label:
  20. type: string
  21. label: 'Label'
  22. type:
  23. type: string
  24. label: 'Type'
  25. description:
  26. type: string
  27. label: 'Description'
  28. field_types:
  29. type: sequence
  30. label: 'Field types'
  31. sequence:
  32. type: string
  33. label: 'Field type'
  34. data:
  35. type: custom_formatters.formatter_type.[%parent.type]
  36. label: 'Data'
  37. third_party_settings:
  38. type: sequence
  39. label: 'Third party settings'
  40. sequence:
  41. type: custom_formatters.third_party.[%key]
  42. # 'mode' => array(
  43. # 'type' => 'varchar',
  44. # 'length' => 32,
  45. # 'not null' => TRUE,
  46. # 'default' => '',
  47. # ),
  48. # 'fapi' => array(
  49. # 'type' => 'blob',
  50. # ),
  51. # ),
  52. custom_formatters.formatter_type.formatter_preset:
  53. type: mapping
  54. mapping:
  55. formatter:
  56. type: string
  57. label: 'Formatter'
  58. settings:
  59. type: field.formatter.settings.[%parent.formatter]
  60. label: 'Formatter settings'
  61. custom_formatters.formatter_type.html_token:
  62. type: string
  63. label: 'Data'
  64. custom_formatters.formatter_type.php:
  65. type: string
  66. label: 'Data'
  67. custom_formatters.formatter_type.twig:
  68. type: string
  69. label: 'Data'
  70. custom_formatters.third_party.contextual:
  71. type: mapping
  72. mapping:
  73. mode:
  74. type: string
  75. label: 'Mode'