Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
Kraftwagen is Drush extensions that provides a set of comands to support a everything in code and install profile/drush make based Drupal development workflow.
The Bundle Terms module enables administrators to tag entity bundles with taxonomy terms. The idea may seem crazy, but before you take out your pitchforks, look at a use case!
You've created a bunch of node types:
Fire Trucks
Fire Stations
Firemen
Police Cars
Police Stations
Policemen
You'd like to have a view that shows all of the node types related to 'Police', and another view showing all of the node types with related to 'Fire'. Using Bundle Terms, you can create those views without tagging any nodes.
Why would I use this module? Doesn't taxonomy already do something like this?
Yes, the core taxonomy module can replicate this behavior of these views, but it would require much more data being saved to your database. For large sites with many nodes, using core taxonomy functionality may not be a viable option.
The real difference is this: The core taxonomy module requires you to create a data point once per entity. Bundle Terms allows you to create a data point once per entity bundle. That's many fewer data points in your database.
This module uses the language settings from the user's browser to redirect to the path prefix matching the language code, if that langugage is enabled on the site. It all happens with JavaScript.
Let's say that I have my browser set up to use English as main language, and I am visiting a site that has Danish as its default language. I would then be redirected from http://example.com to http://example.com/en every time I hit the url without the path prefix.
If you have a language switcher available to the users on the site (Drupal's own Language Switcher Block), then the user's preference will be saved in a cookie when one of the languages in the language chooser is clicked.