Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Views Bootstrap 5.5.4 — Minor update available for module views_bootstrap (5.5.4). Release: Rightup theme 1.0.3 — Minor update available for theme vartheme_bs5_rightup (1.0.3). Release: CommentOn 1.0.6 — Minor update available for module commenton (1.0.6). Release: ChatGPT Ads 1.0.3 — Minor update available for module chatgpt_ads (1.0.3). Release: Opensolr Search 5.1.3 — Minor update available for module opensolr_search (5.1.3). Release: ServiceM8 Webform Integration 1.2.1 — Minor update available for module servicem8_webform (1.2.1). Release: PostfixAdmin 1.0.0 — Initial release available for module postfix_admin (1.0.0)! Release: ip_analyser 1.0.3 — Minor update available for module ip_analyser (1.0.3). Module Revived: Swagger-PHP OpenAPI 3 documentation generator 1.0.0 — Module swagger_php updated after 10 months of inactivity (1.0.0). Security Coverage: Microsoft Azure AI — Module ai_provider_azure now has official Drupal security advisory coverage.

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

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

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 Release date
1.0.6 Stable Nov 28, 2023
1.0.5 Stable Nov 28, 2023
1.0.4 Stable Nov 28, 2023
1.0.3 Stable Oct 5, 2023
1.0.2 Stable Sep 20, 2023
1.0.1 Stable Sep 20, 2023
1.0.0 Stable May 22, 2023
1.0.x-dev Dev May 20, 2023
1.0.0-beta1 Pre-release May 17, 2023
1.0.0-alpha3 Pre-release May 17, 2023
1.0.0-alpha2 Pre-release May 17, 2023
1.0.0-alpha1 Pre-release May 17, 2023