Mercurial > hg > cmmr2012-drupal-site
diff core/modules/rest/rest.post_update.php @ 4:a9cd425dd02b
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:11:55 +0000 |
parents | c75dbcec494b |
children |
line wrap: on
line diff
--- a/core/modules/rest/rest.post_update.php Thu Feb 28 11:14:44 2019 +0000 +++ b/core/modules/rest/rest.post_update.php Thu Feb 28 13:11:55 2019 +0000 @@ -53,7 +53,7 @@ $resource_config_entity->set('configuration', [ 'methods' => array_keys($configuration), 'formats' => $configuration[$first_method]['supported_formats'], - 'authentication' => $configuration[$first_method]['supported_auth'] + 'authentication' => $configuration[$first_method]['supported_auth'], ]); $resource_config_entity->set('granularity', RestResourceConfigInterface::RESOURCE_GRANULARITY); $resource_config_entity->save(); @@ -61,3 +61,10 @@ } } } + +/** + * Clear caches due to changes in route definitions. + */ +function rest_post_update_161923() { + // Empty post-update hook. +}