backdrop-dev / theme
Backdrop Theme is a collection of helper functions and filters to aid in theme development.
Requires
- php: >=7.4
- backdrop-dev/framework: ^2.0
- backdrop-dev/template-helpers: ^1.0.1
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-11-23 18:29:21 UTC
README
Backdrop Theme is a collection of helper functions and filters to aid in theme development.
Requirements
Registering and Booting
Add the provider before booting the Backdrop application. The functions in this package are available as soon as Composer's autoloader is loaded; the provider adds the filters.
$theme->provider( Backdrop\Theme\Provider::class );
The comments template filter looks for comments/{post type}.php, comments/default.php and comments.php inside the theme's views folder (see backdrop-dev/template-helpers).
Copyright and Licenses
This project is licensed under the GNU GPL, version 2 or later.
2019–2026 © Benjamin Lu