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.
Restrict an access to fields depending on environment.
Usage
Create an environment via hook_environment()
, go to editing of any existing field and configure an access in Field Access
settings group.
Dependencies
- Environment
- Field Access
- PHP >= 5.4
Testing
drush dl simpletest
drush en simpletest -y
drush test-run EnvironmentFieldAccessTestCase
Supporting organizations:
Project information
- Maintenance fixes only
Considered feature-complete by its maintainers. - Module categories: Content Editing Experience, Content Display, Site Structure
- Created by BR0kEN on , updated
- Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.
Releases
7.x-1.2
released 12 November 2015
Works with Drupal: 7.x
✓ Recommended by the project’s maintainer.
Development version: 7.x-1.x-dev updated 12 Nov 2015 at 11:18 UTC