diff options
author | Nathaniel Catchpole <catch@35733.no-reply.drupal.org> | 2013-06-06 10:06:46 +0100 |
---|---|---|
committer | Nathaniel Catchpole <catch@35733.no-reply.drupal.org> | 2013-06-06 10:06:46 +0100 |
commit | 6d93172b9612d4934acb9efd71d0fdc639bbc327 (patch) | |
tree | 0c37422999c3d872dc8e7b624633ede9b6671750 /core/modules/file/file.install | |
parent | 6941c5b78b345762049e147cc1d71a3635a76fa9 (diff) | |
download | drupal-6d93172b9612d4934acb9efd71d0fdc639bbc327.tar.gz drupal-6d93172b9612d4934acb9efd71d0fdc639bbc327.zip |
Issue #1969662 by swentel, amateescu, chx | yched: Provide new _update_8000_*() CRUD helpers for Field and Instance definitions.
Diffstat (limited to 'core/modules/file/file.install')
-rw-r--r-- | core/modules/file/file.install | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/core/modules/file/file.install b/core/modules/file/file.install index 2327bb34fbf..7ce65bb0f54 100644 --- a/core/modules/file/file.install +++ b/core/modules/file/file.install @@ -234,6 +234,18 @@ function file_requirements($phase) { } /** + * Implements hook_update_dependencies(). + */ +function file_update_dependencies() { + // Convert fields and instances to ConfigEntities after the {file_usage}.id + // column has moved to varchar. + $dependencies['field'][8003] = array( + 'file' => 8001, + ); + return $dependencies; +} + +/** * Converts default_file_main variable to config. * * @ingroup config_upgrade |