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.

CommentFileSizeAuthor
#2 css_toggle.patch820 bytesaman_lnwebworks
css_toggle.PNG11.42 KBaman_lnwebworks

Comments

aman_lnwebworks created an issue. See original summary.

aman_lnwebworks’s picture

StatusFileSize
new820 bytes

Here is the patch for the issue

pcambra’s picture

Status: Active » Needs review

  • pcambra committed 871619a0 on 1.0.x
    Issue #3408357 by aman_lnwebworks, pcambra: Issue with module...
pcambra’s picture

Status: Needs review » Fixed

Let's do this for now, we probably don't want to require webform, I'll open a task for this

Thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.