recipe.yml

core/recipes/article_tags/recipe.yml

File

core/recipes/article_tags/recipe.yml

View source
  1. name: 'Article tags'
  2. description: 'Provides tags on article content.'
  3. type: 'Content field'
  4. recipes:
  5. - article_content_type
  6. - tags_taxonomy
  7. install:
  8. - views
  9. config:
  10. import:
  11. taxonomy:
  12. - views.view.taxonomy_term
  13. actions:
  14. core.entity_form_display.node.article.default:
  15. setComponent:
  16. name: field_tags
  17. options:
  18. type: entity_reference_autocomplete_tags
  19. weight: 3
  20. region: content
  21. settings:
  22. match_operator: CONTAINS
  23. match_limit: 10
  24. size: 60
  25. placeholder: ''
  26. third_party_settings: { }
  27. core.entity_view_display.node.article.teaser: &entity_view_display_node_article_teaser
  28. setComponent:
  29. name: field_tags
  30. options:
  31. type: entity_reference_label
  32. label: above
  33. settings:
  34. link: true
  35. third_party_settings: { }
  36. weight: 10
  37. region: content
  38. core.entity_view_display.node.article.default:
  39. <<: *entity_view_display_node_article_teaser

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