You are here

fb_instant_articles.schema.yml in Facebook Instant Articles 3.x

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

File

config/schema/fb_instant_articles.schema.yml
View source
  1. fb_instant_articles.settings:
  2. type: config_object
  3. mapping:
  4. page_id:
  5. type: string
  6. label: 'Page ID'
  7. page_name:
  8. type: string
  9. label: 'Page Name'
  10. style:
  11. type: string
  12. label: 'Style'
  13. ads:
  14. type: mapping
  15. label: 'Ads settings'
  16. mapping:
  17. type:
  18. type: string
  19. label: 'Ad type'
  20. iframe_url:
  21. type: uri
  22. label: 'Ad source URL'
  23. an_placement_id:
  24. type: string
  25. label: 'Audience network placement ID'
  26. embed_code:
  27. type: string
  28. label: 'Ad embed code'
  29. dimensions:
  30. type: string
  31. label: 'Ad dimensions'
  32. analytics:
  33. type: mapping
  34. label: 'Analytics settings'
  35. mapping:
  36. embed_code:
  37. type: string
  38. label: 'Analytics embed code'
  39. transformer_logging_level:
  40. type: string
  41. label: 'Transformer logging level'
  42. canonical_url_override:
  43. type: uri
  44. label: 'Canonical URL override'
  45. app_id:
  46. type: string
  47. label: 'App ID'
  48. app_secret:
  49. type: string
  50. label: 'App secret'
  51. access_token:
  52. type: string
  53. label: 'Access token'
  54. page_access_token:
  55. type: string
  56. label: 'Page access token'
  57. field.formatter.settings.fbia_ad:
  58. type: mapping
  59. label: 'Instant articles ad element formatter settings'
  60. mapping:
  61. source_type:
  62. type: string
  63. label: 'Source type'
  64. width:
  65. type: integer
  66. label: 'Width'
  67. height:
  68. type: integer
  69. label: 'Height'
  70. field.formatter.settings.fbia_ad_link:
  71. type: mapping
  72. label: 'Instant articles ad element formatter settings'
  73. mapping:
  74. width:
  75. type: integer
  76. label: 'Width'
  77. height:
  78. type: integer
  79. label: 'Height'
  80. field.formatter.settings.fbia_analytics:
  81. type: mapping
  82. label: 'Instant articles analytics element formatter settings'
  83. mapping:
  84. source_type:
  85. type: string
  86. label: 'Source type'
  87. field.formatter.settings.fbia_author_reference:
  88. type: mapping
  89. label: 'Instant articles author element formatter settings'
  90. mapping:
  91. link:
  92. type: boolean
  93. label: 'Link the author'
  94. field.formatter.settings.fbia_entity_reference_entity_view:
  95. type: mapping
  96. label: 'Instant articles rendered entity element formatter settings'
  97. mapping:
  98. view_mode:
  99. type: string
  100. label: 'View mode'
  101. field.formatter.settings.fbia_image:
  102. type: mapping
  103. label: 'Instant articles image element formatter settings'
  104. mapping:
  105. image_style:
  106. type: string
  107. label: 'Image style'
  108. caption:
  109. type: boolean
  110. label: 'Caption'
  111. presentation:
  112. type: string
  113. label: 'Presentation'
  114. field.formatter.settings.fbia_interactive:
  115. type: mapping
  116. label: 'Instant articles interactive element formatter settings'
  117. mapping:
  118. source_type:
  119. type: string
  120. label: 'Source type'
  121. width:
  122. type: integer
  123. label: 'Width'
  124. height:
  125. type: integer
  126. label: 'Height'
  127. margin:
  128. type: string
  129. label: 'Margin'
  130. field.formatter.settings.fbia_interactive_link:
  131. type: mapping
  132. label: 'Instant articles interactive element formatter settings'
  133. mapping:
  134. width:
  135. type: integer
  136. label: 'Width'
  137. height:
  138. type: integer
  139. label: 'Height'
  140. margin:
  141. type: string
  142. label: 'Margin'
  143. field.formatter.settings.fbia_list:
  144. type: mapping
  145. label: 'Instant articles list element formatter settings'
  146. mapping:
  147. is_ordered:
  148. type: boolean
  149. label: 'Ordered list'
  150. field.formatter.settings.fbia_video:
  151. type: mapping
  152. label: 'Instant articles video element formatter settings'
  153. mapping:
  154. presentation:
  155. type: string
  156. label: 'Presentation'
  157. controls:
  158. type: boolean
  159. label: 'Controls'
  160. autoplay:
  161. type: boolean
  162. label: 'Autoplay'
  163. feed_cover:
  164. type: boolean
  165. label: 'Feed cover'
  166. use_description_as_link_text:
  167. type: boolean
  168. label: 'Replace the file name by its description when available'
  169. node.type.*.third_party.fb_instant_articles:
  170. type: mapping
  171. label: 'Facebook Instant Articles'
  172. mapping:
  173. fb_instant_articles_enabled:
  174. type: boolean
  175. label: 'Whether to enable Facebook Instant Articles for this content type'