Entity Rules Node Limits

Component ID

1957180

Component name

Entity Rules Node Limits

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

This example project for Entity Rules. It contains 4 form access Rules that all limiting the number nodes that can be created.

The 5 rules are:

  • Limit all nodes - limits the total number of nodes on the site
  • Limit all per user - limits total number of nodes 1 user can make
  • Limit total per type - limits totals nodes of 1 content type
  • Limit user per type - limit total of number 1 content type that 1 user can create
  • Delete oldest node if over limit - deletes oldest node when new 1 deleted

You set the Rules on the content type management pages. Each of these Rules takes a node limit integer field.