I have a custom table that I'd like to expose to administrators so that they can perform simple searches on the table data. I know I can create a series of custom views handlers for each field, but is there is a way to expose and search through the custom table data without custom coding? I expect there is a contrib module out there that solves this problem, but my Googling has come up dry.

  • 1
    If you defined it with the Data module, I think you should be able to do just that. However, nothing will be as close as wiring it with the Views API I believe. drupal.org/project/data
    – Kevin
    Commented Mar 13, 2018 at 17:11
  • I did not define this particular table with the Data module. Commented Mar 13, 2018 at 17:31
  • I’m voting to close this question because questions explicitly asking to recommend, find or compare a module, theme, distribution, or other off-site resource are off-topic for Drupal Answers.
    – leymannx
    Commented Sep 9, 2020 at 6:10

1 Answer 1


Apparently Views Custom Table does that:

View custom table module provide you functionality to integrate your custom table data to views, and access all it's column in views. This module use hook_view_data to add custom tables in views. this module provides you following functionalities.

  1. Auto integrate custom table data to views
  2. Auto map mysql data types with drual data types
  3. Extend relationship of custom table data to drupal entities

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.