Search for library

  1. Search 7.x for library
  2. Search 9.5.x for library
  3. Search 8.9.x for library
  4. Search 11.x for library
  5. Other projects
Title Object type File name Summary
LibrariesBCLayerTest::testLibraryBCLayer function core/modules/sdc/tests/src/Functional/LibrariesBCLayerTest.php Tests libraryOverrides.
library.dependency_resolver service core/core.services.yml Drupal\Core\Asset\LibraryDependencyResolver
library.discovery service core/core.services.yml Drupal\Core\Asset\LibraryDiscovery
library.discovery.collector service core/core.services.yml Drupal\Core\Asset\LibraryDiscoveryCollector
library.discovery.parser service core/core.services.yml Drupal\Core\Asset\LibraryDiscoveryParser
library.libraries_directory_file_finder service core/core.services.yml Drupal\Core\Asset\LibrariesDirectoryFileFinder
LibraryDefinitionMissingLicenseException class core/lib/Drupal/Core/Asset/Exception/LibraryDefinitionMissingLicenseException.php Defines a custom exception if a library has a remote but no license.
LibraryDefinitionMissingLicenseException.php file core/lib/Drupal/Core/Asset/Exception/LibraryDefinitionMissingLicenseException.php
LibraryDependencyResolver class core/lib/Drupal/Core/Asset/LibraryDependencyResolver.php Resolves the dependencies of asset (CSS/JavaScript) libraries.
LibraryDependencyResolver.php file core/lib/Drupal/Core/Asset/LibraryDependencyResolver.php
LibraryDependencyResolver::$librariesDependencies property core/lib/Drupal/Core/Asset/LibraryDependencyResolver.php The libraries dependencies.
LibraryDependencyResolver::$libraryDiscovery property core/lib/Drupal/Core/Asset/LibraryDependencyResolver.php The library discovery service.
LibraryDependencyResolver::doGetDependencies function core/lib/Drupal/Core/Asset/LibraryDependencyResolver.php Gets the given libraries with its dependencies.
LibraryDependencyResolver::getLibrariesWithDependencies function core/lib/Drupal/Core/Asset/LibraryDependencyResolver.php
LibraryDependencyResolver::getMinimalRepresentativeSubset function core/lib/Drupal/Core/Asset/LibraryDependencyResolver.php
LibraryDependencyResolver::__construct function core/lib/Drupal/Core/Asset/LibraryDependencyResolver.php Constructs a new LibraryDependencyResolver instance.
LibraryDependencyResolverInterface interface core/lib/Drupal/Core/Asset/LibraryDependencyResolverInterface.php Resolves the dependencies of asset (CSS/JavaScript) libraries.
LibraryDependencyResolverInterface.php file core/lib/Drupal/Core/Asset/LibraryDependencyResolverInterface.php
LibraryDependencyResolverInterface::getLibrariesWithDependencies function core/lib/Drupal/Core/Asset/LibraryDependencyResolverInterface.php Gets the given libraries with their dependencies.
LibraryDependencyResolverInterface::getMinimalRepresentativeSubset function core/lib/Drupal/Core/Asset/LibraryDependencyResolverInterface.php Gets the minimal representative subset of the given libraries.
LibraryDependencyResolverTest class core/tests/Drupal/Tests/Core/Asset/LibraryDependencyResolverTest.php @coversDefaultClass \Drupal\Core\Asset\LibraryDependencyResolver
@group Asset
LibraryDependencyResolverTest.php file core/tests/Drupal/Tests/Core/Asset/LibraryDependencyResolverTest.php
LibraryDependencyResolverTest::$libraryData property core/tests/Drupal/Tests/Core/Asset/LibraryDependencyResolverTest.php Test library data.
LibraryDependencyResolverTest::$libraryDependencyResolver property core/tests/Drupal/Tests/Core/Asset/LibraryDependencyResolverTest.php The tested library dependency resolver.
LibraryDependencyResolverTest::$libraryDiscovery property core/tests/Drupal/Tests/Core/Asset/LibraryDependencyResolverTest.php The mocked library discovery service.
LibraryDependencyResolverTest::$moduleHandler property core/tests/Drupal/Tests/Core/Asset/LibraryDependencyResolverTest.php The mocked module handler.
LibraryDependencyResolverTest::providerTestGetLibrariesWithDependencies function core/tests/Drupal/Tests/Core/Asset/LibraryDependencyResolverTest.php Provides test data for ::testGetLibrariesWithDependencies().
LibraryDependencyResolverTest::providerTestGetMinimalRepresentativeSubset function core/tests/Drupal/Tests/Core/Asset/LibraryDependencyResolverTest.php Provides test data for ::testGetMinimalRepresentativeSubset().
LibraryDependencyResolverTest::setUp function core/tests/Drupal/Tests/Core/Asset/LibraryDependencyResolverTest.php
LibraryDependencyResolverTest::testGetLibrariesWithDependencies function core/tests/Drupal/Tests/Core/Asset/LibraryDependencyResolverTest.php @covers ::getLibrariesWithDependencies
LibraryDependencyResolverTest::testGetMinimalRepresentativeSubset function core/tests/Drupal/Tests/Core/Asset/LibraryDependencyResolverTest.php @covers ::getMinimalRepresentativeSubset
LibraryDependencyResolverTest::testGetMinimalRepresentativeSubsetInvalidInput function core/tests/Drupal/Tests/Core/Asset/LibraryDependencyResolverTest.php @covers ::getMinimalRepresentativeSubset
LibraryDiscovery class core/lib/Drupal/Core/Asset/LibraryDiscovery.php Discovers available asset libraries in Drupal.
LibraryDiscovery.php file core/lib/Drupal/Core/Asset/LibraryDiscovery.php
LibraryDiscovery::$collector property core/lib/Drupal/Core/Asset/LibraryDiscovery.php The library discovery cache collector.
LibraryDiscovery::$libraryDefinitions property core/lib/Drupal/Core/Asset/LibraryDiscovery.php The final library definitions, statically cached.
LibraryDiscovery::clearCachedDefinitions function core/lib/Drupal/Core/Asset/LibraryDiscovery.php
LibraryDiscovery::getLibrariesByExtension function core/lib/Drupal/Core/Asset/LibraryDiscovery.php
LibraryDiscovery::getLibraryByName function core/lib/Drupal/Core/Asset/LibraryDiscovery.php
LibraryDiscovery::__construct function core/lib/Drupal/Core/Asset/LibraryDiscovery.php Constructs a new LibraryDiscovery instance.
LibraryDiscoveryCollector class core/lib/Drupal/Core/Asset/LibraryDiscoveryCollector.php A CacheCollector implementation for building library extension info.
LibraryDiscoveryCollector.php file core/lib/Drupal/Core/Asset/LibraryDiscoveryCollector.php
LibraryDiscoveryCollector::$discoveryParser property core/lib/Drupal/Core/Asset/LibraryDiscoveryCollector.php The library discovery parser.
LibraryDiscoveryCollector::$themeManager property core/lib/Drupal/Core/Asset/LibraryDiscoveryCollector.php The theme manager.
LibraryDiscoveryCollector::applyLibrariesExtend function core/lib/Drupal/Core/Asset/LibraryDiscoveryCollector.php Applies the libraries-extend specified by the active theme.
LibraryDiscoveryCollector::getCid function core/lib/Drupal/Core/Asset/LibraryDiscoveryCollector.php Gets the cache ID.
LibraryDiscoveryCollector::getLibraryDefinitions function core/lib/Drupal/Core/Asset/LibraryDiscoveryCollector.php Returns the library definitions for a given extension.
LibraryDiscoveryCollector::reset function core/lib/Drupal/Core/Asset/LibraryDiscoveryCollector.php Resets the local cache.
LibraryDiscoveryCollector::resolveCacheMiss function core/lib/Drupal/Core/Asset/LibraryDiscoveryCollector.php Resolves a cache miss.
LibraryDiscoveryCollector::__construct function core/lib/Drupal/Core/Asset/LibraryDiscoveryCollector.php Constructs a CacheCollector object.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.