Simple Taxonomy to Menu

Categories

Component ID

2759597

Component name

Simple Taxonomy to Menu

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

494

Component created

Component changed

Component body

Provide similar function with taxonomy menu, but much different:

  • 1, create a sync form for each vocabulary, at:
    /admin/structure/taxonomy/manage/{taxonomy_vocabulary}/overview/menu
  • 2, use menu link content entity
  • 3,provide weight support
  • 4,custom path pattern: for example /taxonomy/term/%tid, /category/%tid, /vocabulary/%tid/all

Both of these feature does not support for D8 taxonomy menu module, so I build a simple version for our use case.

How to use it:

  • 1, you have a vocabulary "category", after you add terms for it. navigate to: /admin/structure/taxonomy/manage/category/overview/menu
  • 2,at here ,choose which menu you want to sync to, For example "Main navigation"; set the path pattern, default is "/taxonomy/term/%tid", you could change it,for example change to " /category/%"
  • 3,click Sync button

It save you a lot of time.