Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 292486

Theme generated via the core script is written into the /themes, instead of /themes/custom

$
0
0

Problem/Motivation

The theme generated via the core script drupal is written to /themes, instead of /themes/custom.

Steps to reproduce

Execute php web/core/scripts/drupal/generate-theme your_new_theme
See that it's in /themes.

Proposed resolution

Modify line #92 or core/lib/Drupal/Core/Command/GenerateTheme.php to read

$destination = trim($input->getOption('path'), '/') . '/custom/' . $destination_theme;

instead of

$destination = trim($input->getOption('path'), '/') . '/' . $destination_theme;

Remaining tasks

N/A

User interface changes

N/A

Introduced terminology

N/A

API changes

N/A

Data model changes

N/A

Release notes snippet

N/A


Viewing all articles
Browse latest Browse all 292486

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>