Tyler Frankenstein's Drupal Association Membership Tyler Frankenstein GItHub Link

drupal 8.x

Drupal 8 Batch Example

I'm in the middle of migrating a Drupal 6 site to Drupal 8 and need to write a batch in Drupal 8 to pull in a bunch of nodes from Drupal 6, so I thought I would document the process to help others.

Related api docs: https://api.drupal.org/api/drupal/core%21includes%21form.inc/group/batch/8

My module's name is disc, so be sure to replace any occurences of it with your module's name.

Use Drush to Export/Import a Drupal MySQL Database Dump File

Export Database to File

So today I wanted to learn how to export a Drupal database to a file quickly. Back in the day I would've logged in through cPanel and navigated to PHPMyAdmin, then manually select an export of the database and have to choose where to save the file. Not to mention all the previous steps listed would need to be preceeded by a Drupal cache flush (I don't like the cache inside a database backup). Typically this would've taken me about 5 minutes to complete, well my friends, no longer is that the case.

Subscribe to RSS - drupal 8.x