drupal-views-dev

Community

Expose Drupal data to Views and build custom plugins.

Authorproofoftom
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps you make your Drupal data easily discoverable and filterable within the Views UI, and allows for custom logic when built-in Views functionality isn't enough.

Core Features & Use Cases

  • Expose Custom Tables: Use hook_views_data() to make your module's database tables available in Views.
  • Entity Views Integration: Automatically expose entity base fields to Views using entity annotations/attributes.
  • Custom Plugins: Create custom Views field, filter, sort, and argument plugins for advanced data manipulation and display.
  • Alter Existing Views: Modify Views data definitions from other modules using hook_views_data_alter().
  • Use Case: You've created a custom content entity for "Events" and want site builders to be able to create Views listings of these events, filter them by date, and sort them by title. This Skill enables that integration.

Quick Start

Use the drupal-views-dev skill to expose a custom table named 'players' with 'id' and 'name' columns to Views.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: drupal-views-dev
Download link: https://github.com/proofoftom/drupal-skills/archive/main.zip#drupal-views-dev

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.