- Issue created by @marcelovani
The current version of the module implements its own visibility options, see https://git.drupalcode.org/project/vwo/-/blob/8.x-1.x/src/Form/Visibilit...
The conditions are checked on vwo.module https://git.drupalcode.org/project/vwo/-/blob/8.x-1.x/vwo.module?ref_typ...
The cache contexts are being set manually.
Problems
We should reuse the conditions provided by Drupal out of the box:
Examples of implementation can be found in the Block module
Another example on Google tag module
Example of custom Condition plugin https://git.drupalcode.org/project/google_tag/-/blob/2.0.x/src/Plugin/Co...
Make sure the code is compatible with Drupal 11
Active
1.0
Code