Entity Share
This module allows to share entities using the JSON:API. It provides a UI to use the endpoints provided by the JSON:API module.
You can define one website as a "server" and another website as a "client". A website can be both "client" and "server".
See also the documentation pages:
Requirements
This module requires no modules outside of Drupal core.
The following core patch is needed for code-defined bundle fields to work:
- ContentEntityDenormalizer uses the field map, and so is unaware of bundle fields: https://www.drupal.org/project/drupal/issues/3522951
Requirements for specific processor plugins
- The redirect processor requires:
- The Redirect module
- The patch to the Redirect module at https://www.drupal.org/project/redirect/issues/3057679 is recommended, to allow the user authenticated on the server to view redirect entities without having access to manage them.
Recommended modules
- JSON:API Extras: To allow to customize the JSON:API endpoints and to enable full pager feature. See the documentation page Supported field types.
- Views Bulk Operations: To allow to update the import policy without having to reimport entities.
- Menu Link Content View Access To allow view access to the entity share role, so that menu link content entities can be pulled.
Installation
Install as you would normally install a contributed Drupal module. For further information, see Installing Drupal Modules.
Install and enable the Entity Share Server module on the site you want to get content from.
Install and enable the Entity Share Client module on the site you want to put content on.
Configuration
See the documentation pages:
Maintainers
- Thomas Bernard - ithom
- Florent Torregrosa - Grimreaper
- Ivan Vujović - ivan.vujovic
- Yarik Lutsiuk - yarik.lutsiuk
Supporting organizations:
- Smile - Sponsored initial development, evolutions, maintenance and support.
- Lullabot - Sponsored development of new features in association with Carnegie Mellon University.
- Carnegie Mellon University
- Studi - Sponsored development of new features.
- Actency - Sponsored maintenance time.