By grimreaper on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
8.x-3.x
Introduced in version:
8.x-3.0-alpha1
Issue links:
Description:
The following events had been removed:
- EntityAlterEvent
- EntityInsertEvent
- EntityListDataAlterEvent
You can now implements ImportProcessor plugins to be able to alter the import process at different stages, see https://git.drupalcode.org/project/entity_share/-/blob/8.x-3.x/modules/e...
- Prepare entity data
- Is entity importable
- Prepare importable entity data
- Process entity
- Post entity save
See existing processors for example of implementation: https://git.drupalcode.org/project/entity_share/-/tree/8.x-3.x/modules/e...
EntityAlterEvent and EntityInsertEvent can be put into the "Process entity" or the "Post entity save" stages.
EntityListDataAlterEvent can be put into the "Prepare entity data" or the "Prepare importable entity data" stages.
Impacts:
Module developers