This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: mydrupalprojectwithcompass | |
recipe: drupal7 | |
config: | |
webroot: docroot | |
php: '5.6' | |
database: mysql:5.7 | |
xdebug: true | |
events: | |
post-db-import: | |
- appserver: cd $LANDO_WEBROOT/sites/default && drush rr |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Drupal\my_migration\Plugin\migrate\source; | |
use Drupal\migrate\Plugin\migrate\source\SqlBase; | |
/** | |
* Migrate flags from d6 -> d8. | |
* | |
* @MigrateSource( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Implements hook_requirements(). | |
*/ | |
function CUSTOM_requirements($phase) { | |
// Only check requirements during the run-time (aka Status Report). | |
if ($phase != 'runtime') { | |
return []; | |
} | |
$requirements = []; |