Note: While field content is added to Grav page headers, display of those fields is not exported from Drupal. The admin plugin should now provide extra options for each content type and related fields. Importing Content Types to GravĬopy the EXPORT/themes/drupal_export/blueprints and EXPORT/themes/drupal_export/templates folder to the active theme in Grav. Drupal field data is exported as an array form type. Known LimitationsĬardinality in many Grav fields only support one value. The files will be exported to EXPORT/themes/drupal_export/blueprints and EXPORT/themes/drupal_export/templates respectively. Resultsįor every defined field type, drush gravect will attempt to create compatible blueprint and matching html.twig file for each Drupal content type. Exporting Content Types from Drupal Commandĭrush grav_export_content_types or drush gravect will generate Grav blueprints and html.twig files.
The password automatically switches to a hashed_password once the account authenticates for the first time.Ĭopy the EXPORT/accounts folder to your user directory (e.g.
Passwords in each account are randomly generated, and have no connection with the respective Drupal account.If a username is truncated or padded, the username will also have the Drupal uid to avoid collisions.Usernames will be padded to a minimum of 3 characters, maximum of 16.User accounts in the export folder under EXPORT/accounts/.Follow the steps below for importing the data into Grav.ĭrush grav_export_users or drush graveu will generate Grav user account files.The Grav plugin is recommended to view and manage users.
Exported files are located at /sites/default/files/grav_export/EXPORT.Run drush grav_export_all, or its alias drush gravea, to export all items.Enable the grav_export module either via drush en grav_export -y or the administration GUI.
Download and move the grav_export plugin to your Drupal's sites/all/modules/contrib folder.