Base field support?

Created on 17 October 2024, 2 months ago

Problem/Motivation

Sorry for the probably dumb question Scott, but after reading through the issues and seeing Continuation Add Views EntityReference filter to be available for all entity reference fields Needs work I'm not totally sure if this module already supports base fields?

As written in the related documentation issue, my concrete case is from Drupal Commerce Product Variations:

    // The product backreference, populated by Product::postSave().
    $fields['product_id'] = BaseFieldDefinition::create('entity_reference')
      ->setLabel(t('Product'))
      ->setDescription(t('The parent product.'))
      ->setSetting('target_type', 'commerce_product')
      ->setReadOnly(TRUE)
      ->setDisplayConfigurable('view', TRUE);

With this module and the patch the filter still doesn't change.
Maybe the (non-)support for base fields should also be documented on the project page?

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Feature request
Status

Active

Version

1.0

Component

Code

Created by

🇩🇪Germany Anybody Porta Westfalica

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

Comments & Activities

Production build 0.71.5 2024