Add support to get 'brick' entity usage

Created on 17 April 2025, 28 days ago

Problem/Motivation

Currently, the module doesn't return results for the 'brick' entity. Instead of checking each entity field type statically, I found a common characteristic among them: all the entity field types — such as 'bricks', 'entity_reference_revisions', etc. — share a common base class, which is: Drupal\Core\Field\Plugin\Field\FieldType\EntityReferenceItem.

Steps to reproduce

  • Check for any brick id, let's say: 1
  • Head to usage statistics page: /admin/usage/brick/1
  • It'll show, Total usage: 0

Proposed resolution

Replace the static array of entity field types with dynamic parsing of entity field types.

💬 Support request
Status

Active

Version

1.0

Component

Code

Created by

🇮🇳India keshav patel

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