Yaffs site version 1.1
[yaffs-website] / vendor / drush / drush / commands / core / scratch.php
1 <?php
2
3 /**
4  * @file
5  * Use this file as a php scratchpad for your Drupal site. You might want to
6  * load a node, change it, and call node_save($node), for example. If you have
7  * used the Execute PHP feature of devel.module, this is the drush equivalent.
8  *
9  * You may edit this file with whatever php you choose. Then execute the file
10  * using `drush script scratch.php`. That command will bootstrap your drupal
11  * site and then run the php below.
12  *
13  * The script command enables you to store your script files wherever you wish and
14  * will help you list all of them should you collection grow. See its help.
15  *
16  */
17
18 // Just some ideas to get the juices flowing.
19 drush_print_r(user_roles());
20 drush_print_r($GLOBALS['user']);