Call to undefined method Drupal\Core\Field\BaseFieldDefinition::getThirdPartySetting()

This patch fixes a fatal error that occurs when accessing certain entity forms (e.g., adding a new menu link) where a field does not implement ThirdPartySettingsInterface.

The patch WILL fix this error

✔ Fixes fatal error
✔ Safe across all field types
✔ Backward compatible
✔ Correct Drupal API usage
✔ Production safe

Issue fork domain-3582307

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

wmac01 created an issue. See original summary.

wmac01’s picture

mably made their first commit to this issue’s fork.

wmac01’s picture

StatusFileSize
new854 bytes

mably’s picture

Status: Active » Needs review

mably’s picture

@wmac01 can you confirm that this issue's MRs solve your problem? Thanks.

  • mably committed 3f1c45bb on 2.0.x
    fix: #3582307 Fixes a fatal error caused by calling getThirdPartySetting...

  • mably committed 94e7b456 on 3.x
    fix: #3582307 Fixes a fatal error caused by calling getThirdPartySetting...
mably’s picture

Status: Needs review » Fixed
Issue tags: -Bug fixes

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

wmac01’s picture

wmac01’s picture

StatusFileSize
new1.15 KB
wmac01’s picture

Status: Fixed » Closed (fixed)

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