Replace class_exist with container modules

Issue information

From user: jurgenhaas

Contribution record

Fork management

Problem/Motivation

Since core introduced some fallbacks to the class loader, the usage of class_exist could result in false positives.

Proposed resolution

Replace the usage of it in \Drupal\eca\EcaServiceProvider with the container modules.

Edited by drupalbot
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information