This project is not covered by Drupal’s security advisory policy.

Provides a field type that allows content editors to select which view mode should be used to render individual paragraph entities. This enables flexible presentation options and improves layout customization without requiring additional paragraph types or custom templates.

Features

You can render the paragraph on different modes depending on the view mode selection!

Post-Installation

After installation, you'll need to go to edit a paragraph type and add a new field to it. When you get there, you'll see a new field type called:

Paragraph View mode selector

Which is the new field type you just installed. After that, create the field (use whatever machine name you want) and go to a node to add it.
When you add the paragraph, you'll see a dropdown displaying as options the view modes created for paragraph types. Select one of your choosing and save it.
After all that, when you save the page and get to see it, inspect it and you will find the suggestion for the template that uses the paragraph type + the view mode.

Additional Requirements

You need to have paragraph module installed.

Supporting organizations: 
Having development environments

Project information

  • caution Minimally maintained
    Maintainers monitor issues, but fast responses are not guaranteed.
  • caution Maintenance fixes only
    Considered feature-complete by its maintainers.
  • Project categories: Content display
  • Ecosystem: Paragraphs
  • Created by juanlucasp on , updated
  • shield alertThis project is not covered by the security advisory policy.
    Use at your own risk! It may have publicly disclosed vulnerabilities.

Releases