TMGMT Ignore Fields allows users to globally pick which fields should be skipped in TMGMT during translation.

When translating content with TMGMT, sometimes you don't want every field to be translated. This module lets you:

  • Globally select specific fields to exclude from translation
  • Create a list of fields that will always be ignored
  • Skip both base fields and custom fields from any content type

Project Link

https://www.drupal.org/project/tmgmt_ignore_fields

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

    Comments

    yorickdv created an issue. See original summary.

    yorickdv’s picture

    Issue summary: View changes
    yorickdv’s picture

    Title: [1.0.x] TMGMT Ignore Fields » [1.x] TMGMT Ignore Fields
    vishal.kadam’s picture

    Issue summary: View changes
    Issue tags: -translation
    avpaderno’s picture

    Thank you for applying!

    Please read Review process for security advisory coverage: What to expect for more details and Security advisory coverage application checklist to understand what reviewers look for. Tips for ensuring a smooth review gives some hints for a smoother review.

    The important notes are the following.

    • If you have not done it yet, enable GitLab CI for the project, and fix what reported from the phpcs job. This help to fix most of what reviewers would report.
    • For the time this application is open, only your commits are allowed. No other people, including other maintainers/co-maintainers can make commits.
    • The purpose of this application is giving you a new drupal.org role that allows you to opt projects into security advisory coverage, either projects you already created, or projects you will create. The project status won't be changed by this application.
    • Nobody else will get the permission to opt projects into security advisory policy. If there are other maintainers/co-maintainers who will to get that permission, they need to apply with a different module.
    • We only accept an application per user. If you change your mind about the project to use for this application, or it is necessary to use a different project for the application, please update the issue summary with the link to the correct project and the issue title with the project name and the branch to review.

    To the reviewers

    Please read How to review security advisory coverage applications, Application workflow, What to cover in an application review, and Tools to use for reviews.

    The important notes are the following.

    • It is preferable to wait for a Code Review Administrator before commenting on newly created applications. Code Review Administrators will do some preliminary checks that are necessary before any change on the project files is suggested.
    • Reviewers should show the output of a CLI tool only once per application. The configuration used for these tools needs to be the same configuration used by GitLab CI, stored in the GitLab Templates repository.
    • It may be best to have the applicant fix things before further review.

    For new reviewers, I would also suggest to first read In which way the issue queue for coverage applications is different from other project queues.

    avpaderno’s picture

    Remember to change status, when the project is ready for review, as in this queue Active means Don't review yet the project I am using for this application.

    yorickdv’s picture

    Status: Active » Needs review

    The project is ready for review

    avpaderno’s picture

    Status: Needs review » Needs work
    • The following points are just a start and don't necessarily encompass all of the changes that may be necessary
    • A specific point may just be an example and may apply in other places
    • A review is about code that does not follow the coding standards, contains possible security issue, or does not correctly use the Drupal API
    • The single review points are not ordered, not even by importance

    src/Form/IgnoreFieldsSettingsForm.php

    There is no need to implement a form class for a settings form that is used only by a plugin: A plugin that needs a configuration form implements \Drupal\Core\Plugin\PluginFormInterface.

    yorickdv’s picture

    Status: Needs work » Needs review

    Thank you for the review.

    However, I believe there may be a misunderstanding about the architecture. This module implements global configuration, not plugin-specific configuration.

    The IgnoreFieldsSettingsForm is a module-level settings form that saves to tmgmt_ignore_fields.settings.yml and affects all tmgmt translation jobs site-wide. This is the correct pattern for global module configuration using ConfigFormBase.

    The c pattern you mentioned applies to plugin-specific configuration where each plugin instance needs its own settings, which is not the case here. This module provides a single global setting that determines which fields to ignore for all translation jobs.

    avpaderno’s picture

    Assigned: Unassigned » avpaderno
    Status: Needs review » Reviewed & tested by the community

    Thank you for your contribution and for your patience with the review process!

    I am going to update your account so you can opt into security advisory coverage any project you create, including the projects you already created.

    These are some recommended readings to help you with maintainership:

    You can find more contributors chatting on Slack or IRC in #drupal-contribute. So, come hang out and stay involved!
    Anyone is welcome to participate in the review process. Please consider reviewing other projects that are pending review. I encourage you to learn more about that process and join the group of reviewers.

    I thank also all the reviewers for helping with these applications.

    avpaderno’s picture

    Status: Reviewed & tested by the community » Fixed

    Status: Fixed » Closed (fixed)

    Automatically closed - issue fixed for 2 weeks with no activity.