Drupal Bootstrap Documentation
Primary tabs
The official documentation site for the Drupal Bootstrap base theme
The majority of this site is automatically generated from source files located through out the project's repository. Topics are extracted from Markdown files and the rest is extracted from embedded PHP comments.
Topics
Below are some topics to help get you started using the Drupal Bootstrap base theme. They are ordered based on the level one typically progresses while using a base theme like this.
Contributing
Getting Started
Theme Settings
Sub-Theming
Templates
Utilities
Plugin System
- @BootstrapAlter
- @BootstrapForm
- @BootstrapPreprocess
- @BootstrapPrerender
- @BootstrapProcess
- @BootstrapProvider
- @BootstrapSetting
- @BootstrapUpdate
Project Maintainers
Terminology
The term "bootstrap" can be used excessively through out this project's documentation. For clarity, we will always attempt to use this word verbosely in one of the following ways:
- Drupal Bootstrap refers to the Drupal base theme project.
- Bootstrap Framework refers to the external front end framework.
- drupal_bootstrap refers to Drupal's bootstrapping process or phase.
When referring to files inside the Drupal Bootstrap project directory, they
will always start with ./themes/bootstrap
and continue to specify the full
path to the file or directory inside it. The dot (.
) is representative of
your Drupal installation's DOCROOT
folder. For example, the file that is
responsible for displaying the text on this page is located at
./themes/bootstrap/docs/README.md
.
When referring to files inside a sub-theme, they will always start with
./themes/THEMENAME/
, where THEMENAME
is the machine name of your sub-theme.
They will continue to specify the full path to the file or directory inside it.
For example, the primary file Drupal uses to determine if a theme exists is:
./themes/THEMENAME/THEMENAME.info.yml
.
NOTE: It is common practice to place projects found on
Drupal.org inside a sub-folder named contrib
and custom/site-specific code
inside a custom
folder. If your site is set up this way, please adjust all
paths accordingly (i.e. ./themes/contrib/bootstrap
and
./themes/custom/THEMENAME
).