Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

External Entities Field Processors

Security covered Under active development

Part of the External ecosystem · 22 projects

This module helps manage data integration issues with external entities by allowing you to create and apply custom processors. These processors can reformat data from external APIs or databases, such as dates or file URLs, to match Drupal's expected formats. A field mapper then associates these processors with specific fields of your external entities.

Sometimes when we integrate external entities with external APIs or databases that we cannot control, the data received does not always match the format expected by Drupal. A clear example can be dates, or URLs to internal files that need to be imported to Drupal to be able to show them.

This module allows generating different processors for these cases quickly and easily and with a fieldmapper to associate those processors to the appropriate fields of the external entity.

Requirements

This module requires the following modules:

Installation

Install as you would normally install a contributed Drupal module. For further information, see Installing Drupal Modules.

Configuration

  1. Enable the module at Administration > Extend.
  2. If you already have an exernal entitie created, go to its edition page. If not, create one as you would normally.
  3. On Field mapper, select Fields processors mapper
  4. Select for each mapped field, the processor you want to use.

FAQ

Q: How do I write a field processor?

A: Create a custom module, and add a new class in src/Plugin/ExternalEntities/FieldMapProcessor/. Create a class that extends FieldMapProcessorBase and add an annotation like this:

/**
 * This is a description of what my processor does.
 *
 * @FieldMapProcessor (
 *   id = "mi_own_processor",
 *   label = @Translation("My Processor"),
 *   description = @Translation("Thiw is what my processor does."), 
 *   field_types = "text,textarea"
 * )
 */

Maintainers

Drupal 9–10 · not 11

Ask your assistant about External Entities Field Processors

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
12
Tracked since
May 2023
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Dormant

Release Timeline

Releases

Version Type Core PHP Release date
1.0.6 Stable 9–10 Nov 28, 2023
1.0.5 Stable 9–10 Nov 28, 2023
1.0.4 Stable 9–10 Nov 28, 2023
1.0.3 Stable 9–10 Oct 5, 2023
1.0.2 Stable 9–10 Sep 20, 2023
1.0.1 Stable 9–10 Sep 20, 2023
1.0.0 Stable 9–10 May 22, 2023
1.0.x-dev Dev 9–11 May 20, 2023
1.0.0-beta1 Pre-release 9–10 May 17, 2023
1.0.0-alpha3 Pre-release 9–10 May 17, 2023