Skip to content

Instantly share code, notes, and snippets.

@AndrewGearhart
Last active August 29, 2015 14:16
Show Gist options
  • Save AndrewGearhart/46fde7f47d39614b5d2d to your computer and use it in GitHub Desktop.
Save AndrewGearhart/46fde7f47d39614b5d2d to your computer and use it in GitHub Desktop.
Recipe for setting the admin page to use the Rubik theme
{
"name": "Drupal 7 Admin Page - Rubik",
"drush_recipes_api": "1.0",
"weight": "0",
"core": "7",
"recipe": [
{
"command": "pm-enable",
"arguments": [
"tao,rubik",
- "-y"
]
},
{
"command": "variable-set",
"arguments": [
"admin_theme",
"rubik"
]
},
{
"command": "variable-set",
"arguments": [
"node_admin_theme",
"TRUE"
]
},
{
"command": "cc",
"arguments": [
"all"
]
}
],
"metadata": {
"type": "add-on",
"version": "1.0",
"author": "AndrewGearhart",
"description": "Sets the admin pages to use the Rubik theme"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment