Install

Works with Drupal: 8.x

Using Composer to manage Drupal site dependencies

Alternative installation files

Download domain-8.x-1.0-alpha6.tar.gztar.gz 107.89 KB
MD5: f3b3abce95e29271944b21844a5f1640
SHA-1: 931794669f69a8fe2da734083058dcac6257a229
SHA-256: d209149ce6f6bdb158de35187dfd1549a437292f79707f022b1f7524061aaa4d
Download domain-8.x-1.0-alpha6.zipzip 201.39 KB
MD5: 07b7b6cf39c979bee9d4f29dd42273d4
SHA-1: d0518a109bc232ee8b694c0ba030a6308468426e
SHA-256: 8e28a0c33f00cb7a11d19222108992159f67f1d84c0163c90a0d731f6ee4dde2

Release notes

There are some major revisions in this release.

If you update the module, you must rebuild the container (drush cr).

Major issues fixed:

* Issue #2820932: Fatal error when deleting a field by hostdog: Fatal error when deleting a field
* #2815951: When a user edits a entity/node that's shared across multiple domains, it ends up referencing only their domain(s) reported by FooZee and bunty_badgujar. Adds user form handling to hidden fields. This change allows the use of node and user forms by editors without access to all domains.
* Patch by @lulbina. Fixes url aliases in path lookups.
Implements a DomainElementManagerInterface.
* From @zerolab: Domain config overrides can now be set in settings.php.
* From @zerolab. Updates and optimizes Travis configuration.

For developers:

We have introduced a new service class, the DomainElementManager. Its purpose is to handle the following use-case:

* An editor with limited access to domains edits an entity that is assigned to domains outside their permission range.

Before this release, edits of this sort deleted the domains outside the users scope. The new service provides a standard means of handling this case.

For most field cases, the base manager works fine -- see domain_access_form_node_form_alter(). For special handling, extend the class in a new service, as shown in domain_source_form_node_form_alter().

Created by: agentrickard
Created on: 20 Nov 2016 at 20:11 UTC
Last updated: 13 Dec 2016 at 15:28 UTC
Bug fixes

Other releases