0

Trying to build a content module (= a module that adds a content type) for drupal 8 but I get the following error on install, the error isnt very informative and Im stuck. The module has a image upload field, and I assume its whats throwing the error but the code for it is copied out of drupals export

Drupal\Component\Plugin\Exception\PluginNotFoundException: The "image_image" plugin does not exist. in Drupal\Core\Plugin\DefaultPluginManager->doGetDefinition() (line 52 of core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php).

Code is at the following https://github.com/ShadyRabbit/drupalIssue

Update: I found the answer myself: entity_view_display was the same as entity_form_display resulting in the error of the content type

  • What is "content module"? – ya.teck Nov 5 '16 at 5:25
  • A module that adds a content type. – Rabbit Nov 5 '16 at 17:53
1

Somewhere you specified image_image, a widget, formatter or field type. There is no such thing, find it and correct it.

You get better help if you share your code.

|improve this answer|||||

Not the answer you're looking for? Browse other questions tagged or ask your own question.