
By nachocode on
Hi,
I've been doing some research in finding a migrating process for views that will show a process of migrating views from Drupal 7 to Drupal 8.
After reading the migrating API, I've noticed that most of the focus of the docs resides in migrating content but not the structure.
I wanted to ask if there's a way of grabbing views from databases(Source) and imported into Views(Destination) using the Migration API tools.
Best,
Comments
~
No, you need to rebuild them. There is no upgrade path between 7-8. Core maintainers went with the approach of rebuild in 8 and migrate content. Too many architectural changes. That is why you only see docs about content.
Take a look at the View Migration module
https://www.drupal.org/project/view_migration
This lets you export your Drupal 7 views as Drupal 8 YAML code.
Getting this error
Getting this error
The import failed with the following message: Unable to parse at line 1 (near "$view = new view();").
My expierence last year was:
My expierence last year was: The idea behind the module is interesting but the realization is too simple
My Comments on it:
https://www.drupal.org/project/view_migration/issues/2930605
No progress since 2017. Very sad, that there is no really good solution.
Migrate D7 views to D8 or D9
https://www.drupal.org/project/views_migration use this module for import Drupal 7 views, It supports default drupal entity_types
thank you! looks great, but
thank you! looks great, but didn't get a chance to try it so far.