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

Created on 28 March 2023, about 2 years ago

Problem/Motivation

I'm getting following error when trying to clone a content type:

Error: Call to undefined method Drupal\Core\Field\BaseFieldDefinition::createDuplicate() in Drupal\content_type_clone\Form\CloneContentType::cloneContentTypeField() (line 67 of /app/web/modules/contrib/content_type_clone/src/Form/CloneContentType.php).

Working with Drupal 9.4.3

This method doesn't seem to exist: https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Field!BaseFieldDe...

๐Ÿ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

๐Ÿ‡ง๐Ÿ‡ชBelgium ludo.r Brussels

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024