Config to control which bundles are processed

Created on 15 June 2024, 5 months ago
Updated 6 July 2024, 4 months ago

I would like request to have some way to bypass processing specific instances of fields, or at minimum, a way to bypass processing on specific bundles. Simply a checkbox on each instance's config form. Also maybe a bypass checkbox on the bundle edit form.

โœจ Feature request
Status

Fixed

Version

2.0

Component

Code

Created by

๐Ÿ‡บ๐Ÿ‡ธUnited States DustinYoder

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

  • Issue created by @DustinYoder
  • First commit to issue fork.
  • Status changed to Needs review 5 months ago
  • Status changed to Needs work 5 months ago
  • ๐Ÿ‡บ๐Ÿ‡ธUnited States mlncn Minneapolis, MN, USA

    Thank you Gunjan this is great fast work! I think it is pretty much ready to be added as a feature! You made a code improvement with the use of instanceof, you added the help page, rolling out this feature in the way you implemented it should not change the way existing sites work, and it makes it easy to opt out for specific content typesโ€” very nice!

    It would be ideal if it could gather all bundles across content entities (so in Drupal core, taxonomy term vocabularies and users (single bundle)). While nodes covers the 80% use case, it's always ideal to cover everything in core, and also the config schema would probably have to change if we do this later.

    That said if you do not have time for that the only thing i really want to change before adding this feature is quick cosmetic things:

    • The title of the settings page can simply be "Trim settings"
    • The description can be "Exclude content types from Trim."
    • I don't want to add another permission to anyone's Drupal site but maybe we could use one a bit more targeted than administer site configurationโ€” perhaps administer content types?

    This is great thank you, and thank you Dustin for the suggestion!

  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia agunjan085

    Sure mlncn will make the changes as requested

  • Assigned to agunjan085
  • Status changed to Needs review 5 months ago
  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia agunjan085

    Hi mlncn,
    Addressed the requested changes. Please review

  • Issue was unassigned.
  • Status changed to RTBC 5 months ago
  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia nidhi27

    Hello,

    I have tested the changes from #MR9 and the functionality is working as expected.

  • Status changed to Fixed 5 months ago
  • ๐Ÿ‡บ๐Ÿ‡ธUnited States mlncn Minneapolis, MN, USA

    Amazing agunjan085! I wish i could give you credit three times here.

    Thank you for the review, Nidhi!

  • Pipeline finished with Skipped
    5 months ago
    #205281
  • ๐Ÿ‡บ๐Ÿ‡ธUnited States mlncn Minneapolis, MN, USA
  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.71.5 2024