Drupal is a registered trademark of Dries Buytaert
drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)! drupal 11.3.6 Update released for Drupal core (11.3.6)! drupal 10.6.6 Update released for Drupal core (10.6.6)! cms 2.1.0 Update released for Drupal core (2.1.0)! bootstrap 8.x-3.40 Minor update available for theme bootstrap (8.x-3.40). menu_link_attributes 8.x-1.7 Minor update available for module menu_link_attributes (8.x-1.7). eca 3.1.1 Minor update available for module eca (3.1.1). layout_paragraphs 2.1.3 Minor update available for module layout_paragraphs (2.1.3). ai 1.3.3 Minor update available for module ai (1.3.3). ai 1.2.14 Minor update available for module ai (1.2.14). node_revision_delete 2.0.3 Minor update available for module node_revision_delete (2.0.3). moderated_content_bulk_publish 2.0.52 Minor update available for module moderated_content_bulk_publish (2.0.52). klaro 3.0.10 Minor update available for module klaro (3.0.10). klaro 3.0.9 Minor update available for module klaro (3.0.9). layout_paragraphs 2.1.2 Minor update available for module layout_paragraphs (2.1.2). geofield_map 11.1.8 Minor update available for module geofield_map (11.1.8).

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.

Activity

Total releases
1
First release
Aug 2025
Latest release
8 months ago
Release cadence
Stability
0% stable

Releases

Version Type Release date
1.0.x-dev Dev Aug 11, 2025