This module provides a destination plugin for Drupal's Migrate API that stores imported data in Drupal's cache. This allows for efficient caching of migration results with configurable expiration and tagging.
Provides a migrate destination plugin that stores data in Drupal cache.
Examples
* Examples:
*
* @code
* process:
* id: id
* data:
* plugin: array_template
* template:
* foo: 'source:foo'
* bee: 'source:bee'
* expire:
* plugin: default_value
* default_value: 7600
* tags:
* plugin: default_value
* default_value:
* - tag1
* - tag2
* destination:
* plugin: cache
* cache_bin: default
* default_expire: -1
* invalidate_tags: false
* @endcode
// Dynamic HTTP url with token replacement
* @code
* source:
* plugin: url
* data_fetcher_plugin: dynamic_http
* url_tokens:
* date: '[current-date:custom:Ymd]'
* foo:
* type: date
* format: 'Ymd'
* value: '+1 day'
* bee:
* type: token
* value: '[current-date:short]'
* @endcode
Drupal 9–11
Ask your assistant about Migrate Destination Cache
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
- migrate Drupal core
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.