You are here

basic_node.content.yml in YAML Content 8

tests/content/basic_node.content.yml

File

tests/content/basic_node.content.yml
View source
  1. # Add a basic article page with simple values.
  2. - entity: "node"
  3. type: "article"
  4. title: "Basic Article"
  5. status: 1
  6. # Rich text fields contain multiple keys that must be provided.
  7. body:
  8. # The format may be the machine name of any configured text filter.
  9. - format: "full_html"
  10. # Using a pipe we can define content across multiple lines.
  11. value: |
  12. <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed vobis
  13. voluptatum perceptarum recordatio vitam beatam facit, et quidem corpore
  14. perceptarum. Tum Quintus: Est plane, Piso, ut dicis, inquit.</p>
  15. <p>Primum cur ista res digna odio est, nisi quod est turpis? Duo Reges:
  16. constructio interrete. Rhetorice igitur, inquam, nos mavis quam
  17. dialectice disputare?</p>