Mercurial > hg > isophonics-drupal-site
view core/modules/layout_discovery/layout_discovery.post_update.php @ 19:fa3358dc1485 tip
Add ndrum files
author | Chris Cannam |
---|---|
date | Wed, 28 Aug 2019 13:14:47 +0100 |
parents | af1871eacc83 |
children |
line wrap: on
line source
<?php /** * @file * Post update functions for layout discovery. */ use Drupal\Core\Config\Entity\ConfigEntityUpdater; /** * Recalculate dependencies for the entity_form_display entity. */ function layout_discovery_post_update_recalculate_entity_form_display_dependencies(&$sandbox = NULL) { \Drupal::classResolver(ConfigEntityUpdater::class)->update($sandbox, 'entity_form_display'); } /** * Recalculate dependencies for the entity_view_display entity. */ function layout_discovery_post_update_recalculate_entity_view_display_dependencies(&$sandbox = NULL) { \Drupal::classResolver(ConfigEntityUpdater::class)->update($sandbox, 'entity_view_display'); }