Custom content entity development and configuration for Drupal. Covers creating custom entity types, defining entity fields, entity storage, and entity display configuration.

GitHub stars
35

Install

/plugin install drupal-content-entities@drupal-best-practices

Run it inside Claude Code after adding the marketplace with /plugin marketplace add theodorosploumis/drupal-best-practices.

Contents

Discovered from source

Skills 1

Description

Extend node-oriented conventions to media, paragraphs, comments, and related entities while accounting for translation and display nuances.

Usage

  • Ask Claude to mirror node naming, documentation, and view mode reuse when modeling non-node entities.
  • Request guidance on translation handling, especially for paragraphs.
  • Have Claude suggest image style names that describe intent instead of dimensions.

Guardrails

  • Keep machine names concise and reusable across bundles.
  • Ensure translation workflows are explicit for nested entities like paragraphs.
  • Prefer descriptive image style names (goal-based, not pixel-based) and avoid GIF unless required.

Validation

Refer to scripts aligned with the specific entity (e.g., fields, views, blocks) after applying changes.

References

  • Drupal Best Practices README.
  • Apply node naming, descriptions, and view mode reuse patterns consistently.

Sponsors

Details

Marketplace
theodorosploumis/drupal-best-practices
Source
ai/skills/other-content-entities
Category
Community

More from theodorosploumis/drupal-best-practices

All 10