Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Experimental project
This is a sandbox project, which contains experimental code for developer use only.
Demonstrates the capabilities and allows a quick manual testing of the Style Switcher module.
Installation
Install as normally. Refer to drupal.org documentation. Select "Style Switcher Demo" profile.
Installation with Lando
mkcd ~/sites/styleswitcher_demo
wget -q -O .lando.yml https://git.drupalcode.org/sandbox/pingwin4eg-2547007/-/raw/10.0.x/.lando.yml.dist
lando start
Configuration
The profile comes with a default configuration, which can be changed after the installation.
There is a css
directory in the profile root containing files which can be used as Style Switcher custom styles. Example path for a custom style is profiles/contrib/styleswitcher_demo/css/styleswitcher-custom-terminal.css
.
Auto-testing and fixing Style Switcher in Lando
Validate code
lando parallel-lint
lando phpcs
lando phpstan
lando stylelint
lando eslint
Fix some validation errors
lando phpcbf
lando eslint-fix
Run tests
lando phpunit [--filter SomeTest]
lando nightwatch
🇺🇦 |
This profile is maintained by a Ukrainian developer. Please consider supporting Ukraine in a fight for its freedom and safety of Europe. |
Project information
- Minimally maintained
Maintainers monitor issues, but fast responses are not guaranteed. - Maintenance fixes only
Considered feature-complete by its maintainers. - Created by pingwin4eg on , updated