config_pages
Create fieldable configuration pages with ease - no custom code required!
Why Config Pages?
Tired of writing custom forms and controllers just to create admin configuration pages? Fed up with creating single-use content types for homepage settings and explaining to clients why they can only create one node?
Config Pages solves these common Drupal development pain points by providing a simple, powerful way to create feature-rich configuration interfaces.
What does this module do?
Config Pages lets you create custom admin pages for site-wide settings that your content editors can easily update. Think of it as a way to build user-friendly control panels for things that appear across your entire website.
Perfect for these common scenarios:
- Contact Information: Create a page where editors can update phone numbers, addresses, and email addresses that appear in headers, footers, or contact forms
- Social Media Links: Let content managers update Facebook, Twitter, LinkedIn links without touching code
- Site Banners: Build an admin page for promotional banners, announcements, or alerts
- Footer Content: Make it easy to update copyright text, legal links, or company information
- API Keys: Store and manage third-party service credentials securely
- and many other scenarios for storing configurations or when you need a singleton entity
Key Features
Fieldable Configuration Entity
- Create configuration pages using Drupal's admin interface
- Full Field API support with all available field types and widgets
- Compatible with Views, Features, and other entity-related modules
- No custom code required
Flexible Menu Integration
Mount your config pages anywhere in the menu structure:
/admin/config/site-information/homepage-settings/admin/structure/promotional-banners/admin/config/third-party/api-settings
Perfect paths that make sense to site administrators.
Context-Aware Configuration
Need different settings based on language, domain, or other factors? Config Pages automatically loads the appropriate configuration based on current context:
- Language context: Different settings per language
- Domain context: Multi-site configurations (requires Domain module)
- Custom contexts: Extend with your own context plugins
Features include context copying, import/export capabilities, and seamless integration with Configuration Management.
Singleton Page Management
Perfect for homepage settings, footer content, or any "one-of-a-kind" pages:
- No more explaining why clients can only create one node of a type
- Clean, purpose-built interfaces for unique pages
- Full theming support with view modes and display configuration
Themeable & Renderable
Config Pages are fully themeable entities:
- Configure view modes and display settings
- Use with Layout Builder, Paragraphs, or any display system
- Render programmatically or through provided render functions
Modern Content Curation
Replaces older approaches like Nodequeue with more flexible solutions:
- Use Entity Reference fields with Views-powered autocomplete
- Full context awareness and theming support
- Better performance and maintainability
Current Status
Config Pages is actively maintained and production-ready:
- Drupal 9 & 10: Fully supported with regular updates
- Drupal 11: Ready for the future
- Performance: Optimized for modern Drupal caching
- Security: Regular security updates and best practices
- Community: Active issue queue and feature development
Support & Documentation
- Issue Queue: drupal.org/project/issues/config_pages
- Documentation: drupal.org/docs/contributed-modules/config-pages
- API Documentation: Available in the module's docblocks
Ready to simplify your Drupal configuration workflows? Install Config Pages today and stop writing custom admin forms!