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.
Install
Works with Drupal: ^9.1 || ^10Using dev releases is not recommended, except for testing.
Using Composer to manage Drupal site dependencies
Alternative installation files
Download nopremium-8.x-1.x-dev.tar.gztar.gz
25.15 KB
MD5: cf1f2cf41b9da6480706126d1e5f4798
SHA-1: 9addc87d6cbec1050a40ef04d1c6cae30762b5e0
SHA-256: 7ad2836e0aff24b83618311a13129f592cf7fb272317ebb0e8eb3789dc90755e
Download nopremium-8.x-1.x-dev.zipzip
41.8 KB
MD5: 966d6188aeeeec6d7455262f77a7761a
SHA-1: 6bae98eb5b46eef980a2691cd8578a0ef7326848
SHA-256: 89c557f877cb871fe8d7f379b92b4155795d66d7aba192020fa57c433978c69a
Release notes
Included features
- Nodes can be marked premium.
- A premium message can be configured per content type.
- You can configure which view modes are premium. For example, you may want to limit access on view modes "full", "print" and "rss".
-
Search API support
The premium field can be indexed. There's also a processor called "Premium content" that allows you to filter out premium content from the search results for those users that may not see premium content.
-
Migrate support
Nodes from Drupal 6 or Drupal 7 can be migrated to Drupal 8 with their premium settings.
-
Helper service
There is a service to programmatically check if a user may view the full version of a node.
-
Drupal 9 support
The module is compatible with Drupal 8 and 9.
Missing features
Not all features from the D7 version were ported. The missing features are:
- An action to mark nodes as premium/non-premium in bulk: #2904171: Bulk apply to existing nodes
- Rules integration: a "Content is premium" condition.