How can I create a view that's based on a custom table from a custom module.
Actually in creating views path I can see options of view types as:
Node: Nodes are a Drupal site's primary content.
Comment: Comments are responses to node content.
File: Files maintained by Drupal and various modules.
Node revision: Node revisions are a history of changes to nodes.
Term: Taxonomy terms are attached to nodes.
User: Users who have created accounts on your site.
But when selecting the node option I can only select from
node table and selecting user I can select from the
user table for displaying the data from these tables. But if I need to display data from the custom tables how can I select that table on creating the query and display them on the view pages?