Currently this module only supports fields added via the Field UI or Field API (Drupal\field\Entity\FieldConfig fields), those all start with 'field_'.

I would like to also support base fields (properties) added to the entity definition (Drupal\Core\Field\BaseFieldDefinition or Drupal\Core\Field\Entity\BaseFieldOverride) - these may follow any naming convention.

We still want to ignore any base fields coming from the user module though.

CommentFileSizeAuthor
#3 support-base-fields-3071722-1.patch1.02 KBkscheirer

Comments

kscheirer created an issue. See original summary.

kscheirer’s picture

Issue summary: View changes
kscheirer’s picture

Status: Active » Needs review
StatusFileSize
new1.02 KB

Attached patch will change the behavior to list all fields that are not from the core user module. This includes Field UI/API fields, and additional base fields.

  • dmundra committed 6b6fe68 on 8.x-1.x authored by kscheirer
    Issue #3071722 by kscheirer: Support extra base fields
    

dmundra credited rael9.

dmundra’s picture

Thank you for the patch. I merged it.

Crediting @rael9 for the original source of this module.

dmundra’s picture

Status: Needs review » Fixed
kscheirer’s picture

Version: » 8.x-1.0

Thanks for the quick response!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.