Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Usage Milestone: Views Reference Filter Module entityreference_filter crossed 10,000 active installs. Usage Milestone: Dropdown Language Module dropdown_language crossed 10,000 active installs. Usage Milestone: Paragraphs Browser Module paragraphs_browser crossed 10,000 active installs. Usage Milestone: OpenAPI Module openapi crossed 10,000 active installs. Usage Milestone: Decoupled Router Module decoupled_router crossed 10,000 active installs. Usage Milestone: Time Field for Drupal 8+ Module time_field crossed 10,000 active installs. Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

This module adds a new field type for multi-domain websites that allows editors to set a simple on/off status for content on a per-domain basis. This is useful for configuring things like featured content differently across your various site domains.

A custom field for multi-domain sites. This module adds a new field type that allows site editors to set a boolean (on/off) value for each active domain on the website.

Features

This module's basic functionality is to provide a new field type called "Domain Boolean." When you add this field to a content type, a list of checkboxes is automatically generated, with one checkbox for each active domain on your site. This allows editors to easily configure a node's status (e.g., "featured," "promoted," "hidden") on a per-domain basis. A typical use case is to allow a single node to be "featured" on the homepage of one domain while remaining in a standard list on others.

Post-Installation

How does this module actually work once I install it? Follow these steps for an overview of the configuration process:

  • Enable the module: After installation, enable the "Domain Boolean Field" module from the Drupal admin interface (/admin/modules).
  • Add the field to a content type: Navigate to Structure > Content types and select the content type you wish to modify. Click the "Manage fields" tab and add a new field. Select "Domain Boolean" from the list of available field types.
  • Configure the field: On the field settings page, you can set the label and help text for the field, which will be displayed to editors on the node edit form.
  • Use the field: When creating or editing a node of that content type, you will see a list of checkboxes for each of your active domains. Simply check the box for each domain where you want to apply the boolean status.

Additional Requirements

  • Domain Access: This module is a complementary add-on to the Domain Access module. Domain Access must be installed and configured for this module to function, as it provides the core API for managing domains.
  • Views: To leverage the domain-specific status of your content, you would typically use Views to create custom content lists or blocks. For example, you can create a View that displays only the "featured" content on a specific domain.

Similar projects

There are no contributed modules on drupal.org that provide this exact functionality out of the box. This module fills a gap for developers who need a simple, custom-configurable solution for setting per-domain metadata on content.

Supporting this Module

This section is a placeholder for any custom donation or support links.

Community Documentation

This section is a placeholder for links to tutorials, videos, or demo sites.

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Aug 2025
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 1
Maintenance
Dormant

Releases

Version Type Core Release date
1.0.x-dev Dev 9–10 Aug 11, 2025