diff --git a/facets.install b/facets.install index 7678e81..d6c6236 100644 --- a/facets.install +++ b/facets.install @@ -10,6 +10,18 @@ use Drupal\facets\Entity\FacetSource; use Drupal\block\Entity\Block; /** + * Implements hook_update_dependencies(). + */ +function facets_update_dependencies() { + // block_content_update_8600() adds some fields to Blocks that makes + // facets_update_8006() fail if upgraded at the same time. + $dependencies['facets'][8006] = [ + 'block_content' => 8600, + ]; + return $dependencies; +} + +/** * Convert facets on Search Api facet sources to use the display plugin. */ function facets_update_8001() {