Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Views Bootstrap 5.5.4 — Minor update available for module views_bootstrap (5.5.4). Release: Rightup theme 1.0.3 — Minor update available for theme vartheme_bs5_rightup (1.0.3). Release: CommentOn 1.0.6 — Minor update available for module commenton (1.0.6). Release: ChatGPT Ads 1.0.3 — Minor update available for module chatgpt_ads (1.0.3). Release: Opensolr Search 5.1.3 — Minor update available for module opensolr_search (5.1.3). Release: ServiceM8 Webform Integration 1.2.1 — Minor update available for module servicem8_webform (1.2.1). Release: PostfixAdmin 1.0.0 — Initial release available for module postfix_admin (1.0.0)! Release: ip_analyser 1.0.3 — Minor update available for module ip_analyser (1.0.3). Module Revived: Swagger-PHP OpenAPI 3 documentation generator 1.0.0 — Module swagger_php updated after 10 months of inactivity (1.0.0). Security Coverage: Microsoft Azure AI — Module ai_provider_azure now has official Drupal security advisory coverage.

The Paragraph Control module adds a customizable boolean "Disable Display" field to all paragraph types in Drupal. This field provides an easy way for content editors to toggle the visibility of individual paragraphs without removing them from the content structure. When the field is unchecked, the paragraph will not be rendered on the frontend, allowing for flexible content management.

Features

  • Automatically adds a Disable Display field to all existing paragraph types upon installation.
  • Editors can enable or disable specific paragraphs by simply checking or unchecking the field.
  • The field is integrated seamlessly into the paragraph editing form, with clear "Enabled" and "Disabled" options.
  • The module ensures that disabled paragraphs are not rendered on the page, preserving clean and controlled content output.
  • The field is removed upon uninstallation, ensuring a clean configuration and database state.

Post-Installation

1. Verify the "Disable Display" Field

  • Go to Structure > Paragraph types.
  • Edit any of the paragraph types (e.g., Text, Image, etc.).
  • Under Manage fields, you should see a new field called "Disable Display"
  • This field will be available on all paragraph types, allowing you to toggle visibility.

2. Edit Content to Use the "Disable Display" Field

  • When editing or creating a new content item that includes paragraph fields (like a page or article), you will see the "Disable Display" checkbox for each paragraph.

3: Test the Visibility Toggle

  • Create or edit content that contains paragraphs.
  • Set the Visibility Status for specific paragraphs to Disabled (unchecked).
  • Save the content and preview the page. Any paragraphs marked as disabled will not be rendered.
  • Re-enable the paragraphs by checking the "Disable Display" and saving the content again.

Paragraph Control module is now fully functional, and content editors can easily manage the visibility of individual paragraphs!

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Sep 2024
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Dormant

Releases

Version Type Core Release date
1.0.x-dev Dev 10 Sep 18, 2024