Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manage display form cannot be accessed #15

Closed
colorfield opened this issue Sep 26, 2016 · 1 comment
Closed

Manage display form cannot be accessed #15

colorfield opened this issue Sep 26, 2016 · 1 comment
Assignees
Labels
Milestone

Comments

@colorfield
Copy link
Owner

colorfield commented Sep 26, 2016

The Manage display form throws "Drupal\Component\Plugin\Exception\PluginException: The plugin (integer) did not specify an instance class. in Drupal\Component\Plugin\Factory\DefaultFactory::getPluginClass() (line 79 of /var/www/drupal82/core/lib/Drupal/Component/Plugin/Factory/DefaultFactory.php)."

@colorfield colorfield added this to the 8.x-0.0-dev milestone Sep 26, 2016
@colorfield colorfield added the bug label Sep 26, 2016
@colorfield colorfield self-assigned this Sep 26, 2016
@colorfield
Copy link
Owner Author

colorfield commented Sep 26, 2016

This was caused by the hook_field_formatter_info_alter() implementation.

function serial_field_formatter_info_alter(array &$info) {
  $info['integer']['field_types'][] = SerialStorageInterface::SERIAL_FIELD_TYPE;
}

where integer is now replaced by text_default.

@colorfield colorfield changed the title Manage display form cannot be accessed when content translation is installed Manage display form cannot be accessed Sep 26, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant