Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). Varbase Media Header 9.2.1 Minor update available for module varbase_media_header (9.2.1). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

This module allows you to grant licenses that can set a specific value on an entity field. When a license is purchased, the user selects the entity to which the license applies, and the product variation then determines which entity type and field to update with a predefined value. This can be used to grant features, such as promoting users' content, by purchasing a license.

The Commerce License Entity Field module provides a License type for Commerce License which when granted, sets a value on an entity field. The field and the value are configured in the product, while the entity to change is chosen by the purchasing user.

Example use cases

Site users create article nodes. A user can upgrade one of their article nodes to be promoted to the front page by purchasing an entity field license.

A single Product Variation holds the configuration of the entity type and bundle, the name of the field to set, and the value to set.

When a user purchases a license, they set the article entity to which the license applies.

Status

This module is incomplete. See the README for details.

Activity

Total releases
1
First release
Oct 2025
Latest release
9 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Slowing

Releases

Version Type Release date
8.x-2.0-alpha7 Pre-release Oct 4, 2025