Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Unverified Commit eee05f99 authored by Abel Santos Corral's avatar Abel Santos Corral Committed by GitHub
Browse files

Merge pull request #119 from openeuropa/OEL-1434

OEL-1434: Filter out bundles if no legacy fields present
parents 75060433 695cae64
No related branches found
No related tags found
2 merge requests!121OEL-1421: Fix cosmetic changes.,!116OEL-1394: Merge 1.x into EPIC-1293-Project, align with new version of card:search pattern
......@@ -150,7 +150,7 @@ docker-compose exec web ./vendor/bin/phpunit
## Upgrade from older versions
### Upgrade to 1.0.0-alpha6
### Upgrade to 1.0.0-alpha7
#### Paragraphs migration
......@@ -169,3 +169,7 @@ function EXAMPLE_post_update_00001(): void {
This is needed to make sure that the install hook for `oe_whitelabel_paragraphs` runs _before_ config-import during a deployment.
Note that `drush updb` will also trigger update hooks in `oe_bootstrap_theme_helper`, which will uninstall the legacy module `oe_bootstrap_theme_paragraphs`.
### Upgrade to 1.0.0-alpha6
This release contains some bugs, please move directly to alpha7.
......@@ -121,7 +121,7 @@ function _oe_whitelabel_paragraphs_install_get_legacy_fields_map(): array {
}
}
return $field_names_by_bundle;
return array_filter($field_names_by_bundle);
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment