Update to Drupal 8.1.0. For more information, see https://www.drupal.org/drupal-8.1.0-release-notes
This commit is contained in:
parent
b11a755ba8
commit
c0a0d5a94c
6920 changed files with 64395 additions and 57312 deletions
|
@ -6,6 +6,7 @@
|
|||
*/
|
||||
|
||||
use Drupal\Core\StringTranslation\TranslatableMarkup;
|
||||
use Drupal\views\Entity\View;
|
||||
use Drupal\views\Views;
|
||||
|
||||
/**
|
||||
|
@ -139,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".
|
||||
*/
|
||||
|
|
Reference in a new issue