From 0dc48d0ccaee310253624c15c75f5fef63e4f537 Mon Sep 17 00:00:00 2001
From: Nathaniel Catchpole <catch@35733.no-reply.drupal.org>
Date: Thu, 10 Mar 2016 17:20:22 +0900
Subject: [PATCH] Issue #2683263 by claudiu.cristea, alexpott: Update text for
 views_post_update_image_style_dependencies() wrong

---
 core/modules/views/views.post_update.php | 38 ++++++++++++------------
 1 file changed, 19 insertions(+), 19 deletions(-)

diff --git a/core/modules/views/views.post_update.php b/core/modules/views/views.post_update.php
index 6dc52eb65686..09a08f684225 100644
--- a/core/modules/views/views.post_update.php
+++ b/core/modules/views/views.post_update.php
@@ -9,25 +9,6 @@
 use Drupal\views\Entity\View;
 use Drupal\views\Views;
 
-/**
- * @addtogroup updates-8.0.x
- * @{
- */
-
-/**
- * Update dependencies to image style.
- */
-function views_post_update_image_style_dependencies() {
-  $views = View::loadMultiple();
-  array_walk($views, function(View $view) {
-    $view->save();
-  });
-}
-
-/**
- * @} End of "addtogroup updates-8.0.x".
- */
-
 /**
  * @addtogroup updates-8.0.0-beta
  * @{
@@ -159,3 +140,22 @@ function views_post_update_cleanup_duplicate_views_data() {
 /**
  * @} End of "addtogroup updates-8.0.0-rc".
  */
+
+/**
+ * @addtogroup updates-8.0.x
+ * @{
+ */
+
+/**
+ * Include field formatter dependencies in a view when the formatter is used.
+ */
+function views_post_update_field_formatter_dependencies() {
+  $views = View::loadMultiple();
+  array_walk($views, function(View $view) {
+    $view->save();
+  });
+}
+
+/**
+ * @} End of "addtogroup updates-8.0.x".
+ */
-- 
GitLab