Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
Developer-oriented modern Drupal 8 base theme with Bootstrap 4 support and many development workflow enhancements.
Project bs_base is a base theme with a goal to support full front end Drupal theme development workflow from start to finish. A child subtheme base theme is provided that is using Bootstrap 4.x framework. Besides that this base theme offers many tools to front-end developer that will make developer life easier like: drush generator, SASS inheritance, powerful gulp workflow, etc.
Just like Drupal 7, you can affect the output of certain HTML via preprocess functions. For example, if you wanted to add a class to a menu and preferred to do this at the PHP level, you can. This is a good way to alter theme-specific markup. If you want to add or edit theme-independent markup, you should create a custom module instead.
This document was used during much of the Twig conversion process for Drupal 8 and could be useful to you too for updating your own themes and modules to use the Twig templating engine in Drupal 8.