Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ComponentPluginManager.php

function ComponentPluginManager::providerExists

Overrides DefaultPluginManager::providerExists

File

core/lib/Drupal/Core/Theme/ComponentPluginManager.php, line 231

Class

ComponentPluginManager
Defines a plugin manager to deal with components.

Namespace

Drupal\Core\Theme

Code

protected function providerExists($provider) {
    return $this->moduleHandler
        ->moduleExists($provider) || $this->themeHandler
        ->themeExists($provider);
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal