This project is not covered by Drupal’s security advisory policy.
Introduction
Section Banner allows site builders to display dynamic banners on specific pages, content types, Views, or routes without custom code. Each banner can include a title, description, and image. It is fully multilingual, token-enabled, and theme-friendly.
Features
- Display banners based on paths, wildcard patterns, content types, Views, or route names.
- Multilingual support with automatic fallback when translation is missing.
- Token support for dynamic content (e.g., node title, current user name).
- Shared banner images across languages.
- Custom CSS classes for flexible styling.
- Provides a Twig template (
section-banner-block.html.twig) which can be overridden in your theme to fully customize the markup and match your design requirements. - Performance-optimized caching with proper cache contexts and tags.
Use cases: Page-specific banners, section landing banners, View-based banners, multilingual banner management, and reusable configuration-driven banners.
Post-Installation
After installing:
- Go to Configuration → Content authoring → Section Banner (
/admin/config/content/section-banner). - Select the language to configure.
- Create or edit banners:
- Enter banner title and description (supports tokens)
- Upload a banner image (shared across languages)
- Define display rules (paths, Views, bundles, routes)
- Add optional CSS classes
- Place the Section Banner Block via Structure → Block layout.
No new content types are created. Clear cache after configuration changes to ensure banners display correctly.
Similar projects
Other banner modules typically rely on block visibility or manual placement. Section Banner provides a more flexible approach:
- Unified rule-based banner management
- Support for paths, Views, bundles, and routes
- Multilingual fallback handling
- Full Twig override support using
section-banner-block.html.twigfor complete theming control

Project information
Maintenance fixes only
Considered feature-complete by its maintainers.- Project categories: Content display
- Ecosystem: Header image
- Created by dev adnan khan on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.


