---
name: drupal-at-your-fingertips
description: "Drupal 9-11 core API patterns from Selwyn Polit's book \"Drupal at Your Fingertips\". In-depth references cover services and dependency injection, hooks, events, plugins, entities, Form API, routes and controllers, Twig, caching, AJAX, database queries, configuration, Paragraphs, and Drupal Test Traits; every other chapter (views, blocks, migrate, drush, taxonomy, and more) is linked online. Use when writing or reviewing custom Drupal module or theme code and a worked example or API refresher is needed for one of these subsystems."
---

# Drupal at Your Fingertips

**Source**: [drupalatyourfingertips.com](https://drupalatyourfingertips.com)
**Author**: Selwyn Polit
**License**: Open access documentation

## When This Skill Activates

Activates when working with Drupal development topics covered in the d9book including:
- Core APIs (services, hooks, events, plugins)
- Content (nodes, fields, entities, paragraphs, taxonomy)
- Forms and validation
- Routing and controllers
- Theming (Twig, render arrays, preprocess)
- Caching and performance
- Testing (PHPUnit, DTT)
- Common patterns and best practices

---

## Topics

14 topics have in-depth reference files in this skill; the other 39 chapters of the book are linked online.

### In depth (references/)

- @references/ajax.md - AJAX
- @references/caching.md - Caching
- @references/config.md - Configuration Management
- @references/dtt.md - Drupal Test Traits (DTT)
- @references/entities.md - Entities
- @references/events.md - Events & Event Subscribers
- @references/forms.md - Forms
- @references/hooks.md - Hooks
- @references/paragraphs.md - Paragraphs
- @references/plugins.md - Plugins
- @references/queries.md - Database Queries
- @references/routes.md - Routes & Controllers
- @references/services.md - Services & Dependency Injection
- @references/twig.md - Twig Templates

### Online chapters (drupalatyourfingertips.com)

- [about](https://drupalatyourfingertips.com/about)
- [actions](https://drupalatyourfingertips.com/actions)
- [ai](https://drupalatyourfingertips.com/ai)
- [attribution](https://drupalatyourfingertips.com/attribution)
- [blocks](https://drupalatyourfingertips.com/blocks)
- [bq](https://drupalatyourfingertips.com/bq)
- [composer](https://drupalatyourfingertips.com/composer)
- [contribute](https://drupalatyourfingertips.com/contribute)
- [cron](https://drupalatyourfingertips.com/cron)
- [dates](https://drupalatyourfingertips.com/dates)
- [debugging](https://drupalatyourfingertips.com/debugging)
- [decoupled](https://drupalatyourfingertips.com/decoupled)
- [development](https://drupalatyourfingertips.com/development)
- [drush](https://drupalatyourfingertips.com/drush)
- [email](https://drupalatyourfingertips.com/email)
- [general](https://drupalatyourfingertips.com/general)
- [index](https://drupalatyourfingertips.com/index)
- [javascript](https://drupalatyourfingertips.com/javascript)
- [layoutbuilder](https://drupalatyourfingertips.com/layoutbuilder)
- [learn](https://drupalatyourfingertips.com/learn)
- [links](https://drupalatyourfingertips.com/links)
- [logging](https://drupalatyourfingertips.com/logging)
- [menus](https://drupalatyourfingertips.com/menus)
- [migrate](https://drupalatyourfingertips.com/migrate)
- [modals](https://drupalatyourfingertips.com/modals)
- [modules](https://drupalatyourfingertips.com/modules)
- [mysteries](https://drupalatyourfingertips.com/mysteries)
- [nodes-and-fields](https://drupalatyourfingertips.com/nodes-and-fields)
- [off-island](https://drupalatyourfingertips.com/off-island)
- [php](https://drupalatyourfingertips.com/php)
- [redirects](https://drupalatyourfingertips.com/redirects)
- [render](https://drupalatyourfingertips.com/render)
- [security](https://drupalatyourfingertips.com/security)
- [setup_mac](https://drupalatyourfingertips.com/setup_mac)
- [state](https://drupalatyourfingertips.com/state)
- [taxonomy](https://drupalatyourfingertips.com/taxonomy)
- [upgrade](https://drupalatyourfingertips.com/upgrade)
- [utility](https://drupalatyourfingertips.com/utility)
- [views](https://drupalatyourfingertips.com/views)

---

**To update**: Run `.claude/scripts/sync-d9book.sh`
