content_singleton
No security coverage
Content Singleton offers a fieldable content entity that allows for exactly one instance of each bundle type. This feature enables the creation of unique site pages such as About Us, Contact, and Privacy Policy, complete with custom fields and dedicated URL paths.
Features
- Singleton enforcement - Automatically prevents creating duplicate content per type
- Fieldable - Add any Drupal field type to customize your content structure
- Custom URL paths - Define frontend paths like /about-us or /contact per type
- Revisions - Full revision support with history, revert, and restore capabilities
- Translation ready - Multilingual support via Drupal's core translation system
- Publishing workflow - Publish/unpublish control for each singleton
- Granular permissions - Per-type permissions for view, edit, delete, and revision operations
- Views integration - Expose singleton data to Views for custom displays
Post-Installation
- Navigate to Administration > Structure > Content Singleton Types (/admin/structure/content-singleton)
- Click Add Content Singleton Type and configure:
- Label and machine name
- Custom frontend path (optional, defaults to machine name)
- Whether to enable revisions by default
- Use Manage fields to add custom fields to your singleton type
- Use Manage display to configure how it renders
- Navigate to Administration > Content > Content Singletons (/admin/content-singleton) to create your singleton content
- Visit the configured path (e.g., /about-us) to view the published content