Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Views Custom Table

Security covered Under active development 5,169 sites

This module allows you to integrate your custom database tables into Drupal's Views system. It automatically maps your table's data types and enables you to create relationships between your custom table and Drupal entities, making the data accessible within views.

About

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

How to use:

  1. Download and extract files in module folder.
  2. Enable module from module list
  3. Go to Home » Administration » Structure » Views » View Custom Table
  4. Add your custom table in system using "Add Custom Table" link
  5. Add Relationship with drupal entities if any, otherwise leave none.
  6. Clear drupal cache
  7. Add a new view and you will see your custom table name in "Show" drop-down field.

Notes for developers

  • Each custom table must have a primary key.
  • Column related to drupal entity must be numeric.

Drupal 8

Steps to install module and use module is same, but for drupal 8 date sort is not implemented yet, we will update it very soon.

Install with Composer: Drupal 8 & 9
$ composer require 'drupal/view_custom_table:^2.0'

Drupal 10–11

Ask your assistant about Views Custom Table

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

  • views Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
10
Tracked since
Feb 2023
Latest release
4 months ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
2.0.9 Stable 10–11 Jun 18, 2026
2.0.9-rc1 Pre-release 10–11 Jun 18, 2026
2.0.8 Stable 10–11 Oct 9, 2024
2.0.7 Stable 10–11 Sep 30, 2024
2.0.6 Stable 10–11 Aug 3, 2024
2.0.6-beta3 Pre-release 10–11 Jul 31, 2024
2.0.6-beta2 Pre-release 9–10 Feb 12, 2024
2.0.6-beta1 Pre-release 9–10 Feb 12, 2024
2.0.5 Stable 9–10 Nov 28, 2023
2.0.4 Stable 9–10 Feb 21, 2023