eb_aggrid
No security coverage
Entity Builder AG-Grid provides a spreadsheet interface for the Entity Builder module.
Define bundles, fields, field groups, and displays using an Excel-like grid interface instead of writing YAML manually. This module is a grid provider for Entity Builder.
Spreadsheet Interface
The AG-Grid interface offers:
- Tabbed sheets for Bundles, Fields, Field Groups, Displays, and Menus
- Excel-like keyboard navigation (Ctrl+Z undo, Tab between cells, arrow keys)
- Auto-generation of field names from labels
- Inline dropdowns for entity types, field types, widgets, and formatters
- Settings modals with native Drupal form rendering
- Real-time validation with error highlighting
- Source view toggle for direct YAML editing
Features
- Visual Editing: No YAML knowledge required
- Smart Defaults: Field settings auto-populate based on field type
- Undo/Redo: Full edit history with keyboard shortcuts
- Row Drag-and-Drop: Reorder items with automatic weight updates
- Quick Filter: Filter rows by typing in search box
- Import from Existing: Import field configs from existing Drupal entities
- Debug Mode: Inspect row data for troubleshooting
Keyboard Shortcuts
- Ctrl+Z / Ctrl+Y: Undo / Redo
- Ctrl+Shift+N: Add new row
- Delete: Remove selected rows
- Ctrl+D: Duplicate row
- Enter: Start editing cell
- Escape: Cancel editing
- Tab: Move to next cell
Installation
This module requires the AG-Grid Community library via Asset Packagist.
Step 1: Configure Asset Packagist
Add the following to your project's root composer.json:
{
"repositories": [
{"type": "composer", "url": "https://asset-packagist.org"}
],
"extra": {
"installer-types": ["npm-asset", "bower-asset"],
"installer-paths": {
"web/libraries/{$name}": ["type:npm-asset", "type:bower-asset"]
}
}
}
Then install the extender package:
composer require oomphinc/composer-installers-extender
Step 2: Install Module and Library
composer require drupal/eb_aggrid npm-asset/ag-grid-community:33.0.0
drush en eb_aggrid -y
drush cr
Then navigate to Configuration > Development > Entity Builder to use the spreadsheet interface.
Requirements
- Entity Builder (core module)
- Entity Builder UI (eb_ui submodule)
- AG-Grid Community library (33.0.0)
Related Modules
- Entity Builder - Core module (required)
- Entity Builder Field Group - Field group support
- Entity Builder Pathauto - URL alias patterns
- Entity Builder Auto Entity Label - Automatic labels