Problem/Motivation
Error: Call to undefined method Drupal\Core\Field\BaseFieldDefinition::get() in Drupal\photoswipe\Plugin\Field\FieldFormatter\PhotoswipeFieldFormatter->settingsForm() (line 223 of modules/contrib/photoswipe/src/Plugin/Field/FieldFormatter/PhotoswipeFieldFormatter.php).
Steps to reproduce
Proposed resolution
Indeed BaseFieldDefinition has no get() function. Especially also FieldDefinitionInterface doesn't have it, so it's wrong by design!
getTargetEntityTypeId() should be used instead!
Remaining tasks
User interface changes
API changes
Data model changes
Issue fork photoswipe-3271422
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
Comment #2
anybodyComment #3
anybodyComment #6
anybodyComment #7
anybodyReopening for 3.0.x fix
Comment #10
anybodyAlso fixed in 3.0.x now.
Comment #11
anybody