I am encountering an issue when installing the module without Webform.
Steps Reproduce:
1. Installed the module using Composer with the command: composer require 'drupal/css_toggle_switch:^1.0'.
2: When trying to enable this module without webform, it throws an error mentioned below.
Fatal error: Trait "Drupal\webform\Element\WebformEntityTrait" not found
I've attached an image illustrating my actions—installing the module and searching within the extended panel.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | css_toggle.patch | 820 bytes | aman_lnwebworks |
| css_toggle.PNG | 11.42 KB | aman_lnwebworks |
Comments
Comment #2
aman_lnwebworks commentedHere is the patch for the issue
Comment #3
pcambraComment #5
pcambraLet's do this for now, we probably don't want to require webform, I'll open a task for this
Thanks!