Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Paragraphs Limits

Security covered Under active development 3,566 sites

Part of the Paragraphs ecosystem · 89 projects

This module allows site builders to enforce minimum and maximum counts for specific paragraph types within a field. It provides a configuration option to set these limits and automatically hides paragraph types once their maximum count is reached.

Allows site builders to set minimum and maximum number of a paragraph type allowed on a field.

Installation / Configuration

  1. Install as per any other Drupal Module. https://www.drupal.org/docs/8/extending-drupal-8/installing-drupal-8-mod...
  2. Once installed go to a paragraphs field and switch its handler for selecting paragraphs to the new paragraphs_limits handler and define the limits you want.

Uninstalling

  • Uninstall as usual. During uninstalling the module will replace the paragraphs_limits handler with the default paragraphs handler.

Functionality

- Adds a new 'Paragraphs with limits' entity selection plugin for paragraph
fields that allows users to set lower and upper limits for paragraphs.
- Defines a new constraint that validates these limits when a user submits a paragraphs field.
- Setting a limit to '0' disables that limit.
- Reaching the upper limit of a paragraph will hide that paragraph from the available paragraphs to add in the widget.

Drupal 9–11

Ask your assistant about Paragraphs Limits

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
5
Tracked since
Apr 2023
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Dormant

Release Timeline

Releases

Version Type Core PHP Release date
8.x-1.0 Stable 9–11 Sep 9, 2024
8.x-1.0-rc2 Pre-release 9–11 Aug 17, 2024
8.x-1.0-rc1 Pre-release 9–11 Aug 16, 2024
8.x-1.0-alpha6 Pre-release 8–10 Jul 6, 2024
8.x-1.0-alpha5 Pre-release 8–10 Apr 14, 2023