how to display a custom entity in a view This is my first time making a custom module and I want to display some of the content that is produced in a view, but I can't figure out how to make my custom entity show up in the SHOW: select list when making a new view.

What code do I need to add to my custom module to have it show up there?
Include this in your hook_entity_info

MyModule_entity_info() {
...
'views controller class' =&gt; 'EntityDefaultViewsController',
...
}


For more details check this link : http://www.sitepoint.com/build-custom-drupal-entities/