Guest User

Untitled

a guest
Jun 22nd, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. ```php
  2. function upgrade_174() {
  3. $this->runAllClassesInDirectory('Upgrade_174');
  4. }
  5. ```
  6.  
  7. ```php
  8. class Upgrade_174_SetDrupalVariable implements UpgraderInterface {
  9.  
  10. public function upgrade() {
  11. drush_vset('foo', 'bar');
  12. }
  13.  
  14. }
  15. ```
  16.  
  17. #### Directory Structure
  18.  
  19. - Upgrade_173
  20. - Upgrade_173_CreateOptionValue.php
  21. - Upgrade_174
  22. - Upgrade_174_SetDrupalVariable.php
  23. - Upgrade_174_DeleteLocationType.php
Add Comment
Please, Sign In to add comment