When the field allows for multiple bundles, the IEF table shows the bundle column. The shown bundles are rendered as links. Let's make them not links :)

CommentFileSizeAuthor
#3 ief-no_bundle_link-2673966-3.patch501 bytestedbow

Comments

bojanz created an issue. See original summary.

bojanz’s picture

The part that needs to change is in EntityInlineForm::getTableFields:

      $fields[$bundle_key] = [
        'type' => 'field',
        'label' => $bundle_field_label,
        'weight' => 2,
        // Needs 'display_options' => [ here
      ];
tedbow’s picture

StatusFileSize
new501 bytes

Here is a patch. Since we are using a setting for a formatter I figured it was good idea to explicitly set the formatter instead of relying on default.

tedbow’s picture

Status: Active » Needs review

Forgot to set to needs review

  • bojanz committed 0c39917 on 8.x-1.x authored by tedbow
    Issue #2673966 by tedbow: Render the bundle without a link (in the table...
bojanz’s picture

Status: Needs review » Fixed

Committed, thanks!

Status: Fixed » Closed (fixed)

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