Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This release adds the concept of Aliased Environments for development. Each domain alias can now be assigned to an environment group. The default set of environments are:
- default
- local
- development
- staging
- testing
When re-writing links, the environment will be used to find matching sets across your aliases. That means that working in example.local will write links to one.example.local if both aliases are assigned to the 'local' environment set.
This alpha release contains significant API and UI changes. The changes are summarized below, along with recommendations for site administrators and developers.
Overview
This release introduces the concept of Domain Administrators separate from Domain Editors. In past versions, user accounts could be assigned to domains, giving them editorial access to content on that domain.
That feature is retained, and supplemented by a new set of data and permissions that allows specific users the right to edit information for specific domain records.
This release adds one major new feature -- unpublished nodes are now tracked in the {node_access} table using the new 'domain_unpublished' grant.
Roles with the 'View unpublished nodes on assigned domains" permission can now view unpublished nodes when lists are returned by modules such as Views.
Canonical domain handling for the Domain Source module has also been radically simplified, and enhanced with proper tests.
Update your site
This release requires running update.php, and will rebuild the {node_access} table. That process may take a long time, so plan ahead.
We also allow users to access the login form (/user/login) on inactive domains. Developers can extend this behavior for other special paths using the new hook_domain_invalid_request().
7.x.2 branch
As of this release, the 7.x.2 branch is no longer supported.