Problem/Motivation
The entity share client module provides an EntityImportStatus entity to track the various details of data entities that have been imported to your site. In its current implementation, It is possible to create a view of these EIS entities but it is not possible to join in the actual entity data tables to the view in order to display the field data of those imported entities. Likewise, it is possible to have views of data entities but there is no way to join in the EntityImportStatus data into those views (for example, if you wanted to do something like edit the default admin/content page to display which site the imported data entities came from).
Proposed resolution
- Override the views_data handler on the EntityImportStatus entity type to also support adding views relationships to join in the fields from all data entity tables.
- Implement
hook_views_data_alterto add views relationships to each existing data entity type to allow joining in the related EntityImportStatus fields.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 3341704-eis_views_integration-1.patch | 4.49 KB | fernando iglesias |
Issue fork entity_share-3341704
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
fernando iglesias commentedPatch attached.
Comment #3
fernando iglesias commentedComment #4
grimreaperComment #7
grimreaperThanks.
I have tested creating a view on Entity import status and another view cloning the content admin list.
This now works in both directions.
It seems that when merging Gitlab is using the person who created the MR and not the first commit author. Sorry, you will get the credit being mentioned in the commit message and the issue.
Thanks again!