drupal-forms-api
CommunityBuild and manage Drupal forms efficiently.
Authorproofoftom
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill streamlines the creation, validation, and submission of forms within Drupal, addressing the complexity of handling user input and configuration settings.
Core Features & Use Cases
- Form Lifecycle Management: Implement
buildForm,validateForm, andsubmitFormfor custom forms. - Configuration Forms: Utilize
ConfigFormBasefor managing module settings with schema validation. - Confirmation Forms: Employ
ConfirmFormBasefor destructive actions with clear user confirmation. - Form Altering: Modify existing forms using
hook_form_alterandhook_form_FORM_ID_alter. - AJAX Forms: Implement dynamic form elements with server-side callbacks for enhanced user experience.
- Use Case: Create an administrative settings page for a custom module, including input validation and saving configuration to Drupal's config system.
Quick Start
Use the drupal-forms-api skill to create a new Drupal form with a textfield and a submit button.
Dependency Matrix
Required Modules
None requiredComponents
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-forms-api Download link: https://github.com/proofoftom/drupal-skills/archive/main.zip#drupal-forms-api Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.