Screenshot of the Per-Domain Number Decimal Field type in the Drupal admin UI
Screenshot of the Per-Domain Number Decimal Field Widget on a node edit form in the Drupal admin UI

This project is not covered by Drupal’s security advisory policy.

Provides field types that store a different value for each domain defined on the website.

Features

This module defines new versions of standard Drupal field types. They work the same way, except on edit forms a value may be entered per-domain, and on display only the value that corresponds to the currently active domain appears.

If you need a way for admins to specify a different value for the same field for each domain, and switch value based on the active domain, you're in the right place.

Post-Installation

  1. Installation: Install as you would normally install a contributed Drupal module. See
    installing modules for further information.
  2. 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 one of the "... [Per-domain]" fields from the list of available field types.
  3. Use the field: When creating or editing content, you will see a duplicate of the field widget for each of your domains.

Additional Requirements

Domain Access: This module requires the Domain Access module.

Supporting organizations: 

Project information

Releases