Skip to content
Snippets Groups Projects
Commit 5bbfd428 authored by Richard Buchanan's avatar Richard Buchanan
Browse files

Add renaming of STARTERKIT in drush commands to include stylehsheet

parent fc7f5531
No related branches found
No related tags found
No related merge requests found
......@@ -135,6 +135,7 @@ function drush_uikit_starterkit($machine_name = NULL, $name = NULL) {
// Replace all occurrences of 'STARTERKIT' with the machine name of our sub theme.
drush_op('uikit_file_str_replace', $subtheme_path . '/theme-settings.php', 'STARTERKIT', $machine_name);
drush_op('uikit_file_str_replace', $subtheme_path . '/template.php', 'STARTERKIT', $machine_name);
drush_op('uikit_file_str_replace', $subtheme_path . '/css/' . $machine_name . '.css', 'STARTERKIT', $machine_name);
drush_op('uikit_file_str_replace', $subtheme_path . '/js/' . $machine_name . '.js', 'Drupal.behaviors.STARTERKIT', str_replace(' ', '', 'Drupal.behaviors.' . $name));
drush_op('uikit_file_str_replace', $subtheme_path . '/js/' . $machine_name . '.js', 'STARTERKIT', $machine_name);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment