System Tags

Component ID

2890219

Component name

System Tags

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

376

Component created

Component changed

Component body

This modules provides the bridge between content and code. It allows developers to use specific entities (like the news-overview page) in their module without knowing the ID of that piece of content.

Use cases:

  • I don't want to save the node id of the homepage in config, instead I tag a node with "Homepage" and System Tags will take care of the rest.
  • I want to show a list of popular news items in the sidebar on the news overview page, so I tag a node with "News overview" and configure the "System Tags"-condition of that list block to use the "News overview"-System Tag.
  • DEV-RELEASE The url of an article should start with the alias of the overview page (/articles/my-news-article). This can be done by using the correct token in the Pathauto pattern for articles.

Todo

  • Add integration between System Tags and Pathauto patterns
  • Provide tests.

What's new in the dev-release?

  • Token support (which can be used in Pathauto patterns)
  • Twig extension system_tag_url