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

Breadcrumb

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

function IconPackManager::providerExists

Overrides DefaultPluginManager::providerExists

File

core/lib/Drupal/Core/Theme/Icon/Plugin/IconPackManager.php, line 368

Class

IconPackManager
Defines an icon pack plugin manager to deal with icons.

Namespace

Drupal\Core\Theme\Icon\Plugin

Code

protected function providerExists(mixed $provider) : bool {
    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