Plugin for Single Content Sync to handle search_api_exclude_entity field

Created on 22 November 2024, 30 days ago

**Problem/Motivation**

The `search_api_exclude_entity` field type isn't currently exportable via the Single Content Sync module. This means content with this field can't be fully synchronized between environments using Single Content Sync.

**Proposed Resolution**

Add a `SingleContentSyncFieldProcessor` plugin for the `search_api_exclude_entity` field type. This allows the field's value to be exported and imported along with the content.

**Remaining Tasks**

- [x] Implement the field processor plugin.
- [x] Test the plugin to ensure it works as expected.
- [ ] Review and test by module maintainers and community.

**Steps to Test**

1. Apply the attached patch.
2. Ensure that the Single Content Sync module is installed and enabled.
3. Create or edit content that uses the `search_api_exclude_entity` field.
4. Use Single Content Sync to export the content.
5. Import the content into another Drupal site.
6. Verify that the `search_api_exclude_entity` field value is correctly exported and imported.

**Attachments**

- Patch file: `search_api_exclude_entity-single-content-sync-field-processor.patch`

**Drupal.org Issue**

[Link to the issue]

✨ Feature request
Status

Needs review

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States frogdog_tech

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024