Latest release of Bootstrap theme integration- Drupal 8 Basic steps

Basic Setup Requirements

  1. Get Drupal bootstrap module-
  2. Copy the theme folder under “Starterkit” folder to create your own subtheme i.e. you can place this starterkit theme unders themes/custom folder.
  3. Rename all the instances of THEMENAME to your own sub theme name
  4. Make relevant changes in info.yml file.
  5. The default setup use CDN and hence will pull the required JS and CSS through CDN. This is defined under Bootstrap theme settings.

Installing Composer Globally- Drupal 8

Composer is a tool for dependency management in PHP. It allows you to declare the libraries your project depends on and it will manage (install/update) them for you.

Theming in Drupal 8


  1. Implement twig template in a custom module
  2. Implement twig template in a custom form
  3. Implement twig template for an email or any general implementation using drupal_render()
  4. Creating a Theme
    1. Structure of the theme folder- here zircon is the name of the theme
    2. Files and its descriptions
      2. Create a theme_name.libraries.yml
      3. Creating a template- page.html.twig
      4. The Breakpoint module- [theme-name] or [module-name] .breakpoints.yml
  5. Modifying attributes in themename.theme file