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

[generate:entity:config] "The "foo" entity type did not specify a list_builder handler #808

Closed
jmolivas opened this issue Aug 23, 2015 · 1 comment
Milestone

Comments

@jmolivas
Copy link
Member

Uncaught PHP Exception Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException: "The "foo" entity type did not specify a list_builder handler." at /Users/jmolivas/develop/drupal/sites/drupal8.dev/core/lib/Drupal/Core/Entity/EntityManager.php line 360

This could be fixed by updating templates/module/src/entity-listbuilder.php.twig

Actual code

{% block file_path %}
Drupal\{{module}}\Controller\{{ entity_class }}ListBuilder.
{% endblock %}

Fix

{% block file_path %}
Drupal\{{module}}\{{ entity_class }}ListBuilder.
{% endblock %}
@jmolivas jmolivas added this to the 0.8.3-release milestone Aug 23, 2015
@jmolivas jmolivas changed the title [generate:entity:config] No link template 'collection' found for entity [generate:entity:config] "The "foo" entity type did not specify a list_builder handler Aug 23, 2015
@jmolivas
Copy link
Member Author

Fixed with PR #809

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant