I believe I am correct in coming to the conclusion that MODULENAME_handler_MODULENAME_operations_field.inc should be renamed to MODULENAME_handler_operations_field.inc.

It might not matter if you only use Entity Model to create a single custom entity model but I found that when I created a second custom module for an additional custom entity model, the view wasn't being created and I couldn't import it because it was complaining that the handlers for my custom entities weren't available. The solution it seemed was to rename MODULENAME_handler_MODULENAME_operations_field.inc to MODULENAME_handler_operations_field.inc.

Note: Drupal is convinced that I should have a file called MODULENAME_handler_MODULENAME_operations_field.inc, so I had to leave it in alongside the new MODULENAME_handler_operations_field.inc in my test site. I haven't checked on a fresh vanilla site yet to confirm but that will be my next test.

Comments

awasson created an issue.