drupal-entities-fields

Community

Build custom Drupal entities and fields with ease.

Authorproofoftom
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill simplifies the creation of custom content and configuration entities in Drupal, along with their associated fields, streamlining data modeling and management within your Drupal site.

Core Features & Use Cases

  • Entity Type Creation: Define both content and configuration entity types using modern PHP attributes (D11+) or annotations (D10).
  • Field Definition: Create base fields for content entities and manage properties for config entities.
  • Handler Configuration: Set up essential handlers like form builders, list builders, and route providers for entity management.
  • Bundle Support: Implement subtype functionality for content entities, linking them to their corresponding bundle configuration entities.
  • Use Case: You need to create a new "Event" content entity type with fields for date, location, and a description, and also a "Event Type" configuration entity to manage different kinds of events (e.g., "Conference", "Workshop").

Quick Start

Create a Drupal content entity called 'product' with a string field for 'name' and a timestamp field for 'created'.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 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-entities-fields
Download link: https://github.com/proofoftom/drupal-skills/archive/main.zip#drupal-entities-fields

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.