Checks if a given class name belongs to an active bundle.
@api
Parameters
string $class A class name:
Return value
Boolean true if the class belongs to an active bundle, false otherwise
File
- drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/KernelInterface.php, line 82
Class
- KernelInterface
- The Kernel is the heart of the Symfony system.
Namespace
Symfony\Component\HttpKernel
Code
public function isClassInActiveBundle($class);