holo96 / drush_config_export_entity
Helper commands to export specific config entity (bundle) with all connected configuration like fields, displays etc.
Installs: 3
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:drupal-drush
Conflicts
- drush/drush: <12.5
This package is auto-updated.
Last update: 2025-07-17 07:58:17 UTC
README
The Drush Config Export Entity package provides some helper drush commands to export specific config entity (bundle) with all connected configuration like fields, displays etc.
Tho fully rewritten and built upon this package is inspired by (sadly) long gone drupal console's config:export:entity command.
USAGE
There are two commands provided, one is for exporting bundleable entities and other one for non bundleable.
config:export:entity:bundle (ceeb)
drush ceeb node page --path="../config/partial/feature-312" # Export all configuration connected with bundle to custom path drush ceeb taxonomy_term category --module=custom_commerce_extender # Export all configuration connected with bundle to module drush ceeb # Start config entity export prompt
config:export:entity:non-bundle (ceenb)
drush ceenb user --path="../config/partial/feature-312" # Export all configuration connected with entity to custom path drush ceenb user --module=custom_commerce_extender # Export all configuration connected with entity to module drush ceenb # Start config entity export prompt
The primary use case for this package is:
- Branching
- Custom module development
- Recipes development
REQUIREMENTS
At least drush 12.5 is required.
INSTALLATION
Just require package with composer, this package is meant for development
composer require holo96/drush_config_export_entity --dev
IMPORTING
This package will not handle import, you can use drush cim --partial
,
features and other importing tools.
MAINTAINERS
Current maintainers for Drupal 10 and 11:
- Davor Horvacki (Holo96) - https://www.drupal.org/u/Holo96