Change views relationship base table

Created on 19 December 2023, 11 months ago
Updated 18 January 2024, 10 months ago

The implementation of usage_data_views_data() uses \Drupal\Core\Entity\EntityTypeInterface::getBaseTable to define the relationship between usage data and the entities it's tracking.

The base table - e.g. node - is far less useful than the data table - e.g. node_field_data. Making a simple switch to use \Drupal\Core\Entity\EntityTypeInterface::getDataTable unlocks all the views relationships like content fields, etc.

✨ Feature request
Status

Needs work

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States AaronBauman Philadelphia

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024