A foundational recipe for content structure and management in Varbase. Provides core content configuration for content types, taxonomy vocabularies, block content, menu system, path aliases, and essential content-related modules.
This recipe is designed to work as a foundation after the Drupal CMS Content Type Base recipe, extending it with Varbase-specific enhancements and configurations.
- Node System: Core node functionality with essential field storages:
- Body field (text with summary)
- Description field (long text)
- Tags field (taxonomy reference)
- Categories field (taxonomy reference)
- Taxonomy: Vocabulary system for organizing content with custom fields
- Block Content: Custom block types with the "Basic block" content type
- Field Group: Organize fields into logical groups
- Smart Trim: Intelligent text trimming with more options
- Advanced Text Formatter: Enhanced text field display options
- Inline Entity Form: Edit referenced entities inline
- Token: Token replacement system for dynamic content
- Block Class: Add custom CSS classes to blocks
- Frontpage View: Default front page content display
- Archive View: Content archive by date
- Taxonomy Term View: Display taxonomy term content
- Views Infinite Scroll: Pagination with infinite scrolling
- Better Exposed Filters: Enhanced Views filter UX
- Date Filter: Advanced date filtering for Views
- Contextual Links: In-place editing links
- ECA (Event-Condition-Action): Visual workflow builder with BPMN.io including:
- Redirect 403 to login page
- Content management automations
- User workflows
- Rabbit Hole: Control entity display behavior
- Entity Clone: Duplicate content entities
- Entity Usage: Track entity relationships and usage
- Entityqueue: Manual content ordering and curation
- Diff: Compare content revisions
- Menu Position: Automatic menu item placement
- Tagify: Enhanced tagging with autocomplete
- Ultimate Cron: Advanced cron job management
- Dynamic Page Cache: Performance optimization
- Token Filter: Use tokens in text fields
The recipe includes default configurations for:
- Field storages for nodes, block content, and taxonomy terms
- Basic block content type with body field
- User picture field storage and display
- Entity form and view displays for block content and users
- Token view modes for all content entity types
- Social media menu
- ECA workflow for 403 redirect to login
- Entity usage tracking settings
- Tagify widget defaults
The recipe configures basic content permissions for:
- Anonymous: Access to published content
- Authenticated: Access to content and view own unpublished content
Additional role-based permissions should be configured based on your site's needs.
Add the recipe using composer:
composer require drupal/varbase_content_base:~1.0.0
Change directory to /web
Run the Drupal recipe bash script:
bash core/scripts/drupal recipe recipes/varbase_content_base
or
Run the Drush recipe command:
drush recipe recipes/varbase_content_base
GPL-2.0-or-later