Search for library
- Search 7.x for library
- Search 9.5.x for library
- Search 8.9.x for library
- Search 10.3.x for library
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
LibraryDependencyResolver::getLibrariesWithDependencies | function | core/ |
Gets the given libraries with their dependencies. |
LibraryDependencyResolver::getMinimalRepresentativeSubset | function | core/ |
Gets the minimal representative subset of the given libraries. |
LibraryDependencyResolver::__construct | function | core/ |
Constructs a new LibraryDependencyResolver instance. |
LibraryDependencyResolverInterface | interface | core/ |
Resolves the dependencies of asset (CSS/JavaScript) libraries. |
LibraryDependencyResolverInterface.php | file | core/ |
|
LibraryDependencyResolverInterface::getLibrariesWithDependencies | function | core/ |
Gets the given libraries with their dependencies. |
LibraryDependencyResolverInterface::getMinimalRepresentativeSubset | function | core/ |
Gets the minimal representative subset of the given libraries. |
LibraryDependencyResolverTest | class | core/ |
@coversDefaultClass \Drupal\Core\Asset\LibraryDependencyResolver @group Asset |
LibraryDependencyResolverTest.php | file | core/ |
|
LibraryDependencyResolverTest::$libraryData | property | core/ |
Test library data. |
LibraryDependencyResolverTest::$libraryDependencyResolver | property | core/ |
The tested library dependency resolver. |
LibraryDependencyResolverTest::$libraryDiscovery | property | core/ |
The mocked library discovery service. |
LibraryDependencyResolverTest::$libraryDiscoveryParser | property | core/ |
The mock library discovery parser. |
LibraryDependencyResolverTest::providerTestGetLibrariesWithDependencies | function | core/ |
Provides test data for ::testGetLibrariesWithDependencies(). |
LibraryDependencyResolverTest::providerTestGetMinimalRepresentativeSubset | function | core/ |
Provides test data for ::testGetMinimalRepresentativeSubset(). |
LibraryDependencyResolverTest::setUp | function | core/ |
|
LibraryDependencyResolverTest::testGetLibrariesWithDependencies | function | core/ |
@covers ::getLibrariesWithDependencies |
LibraryDependencyResolverTest::testGetMinimalRepresentativeSubset | function | core/ |
@covers ::getMinimalRepresentativeSubset |
LibraryDependencyResolverTest::testGetMinimalRepresentativeSubsetInvalidInput | function | core/ |
@covers ::getMinimalRepresentativeSubset |
LibraryDiscovery | class | core/ |
Discovers available asset libraries in Drupal. |
LibraryDiscovery.php | file | core/ |
|
LibraryDiscovery::$collector | property | core/ |
The library discovery cache collector. |
LibraryDiscovery::clearCachedDefinitions | function | core/ |
Clears static and persistent library definition caches. |
LibraryDiscovery::getLibrariesByExtension | function | core/ |
Gets all libraries defined by an extension. |
LibraryDiscovery::getLibraryByName | function | core/ |
Gets a single library defined by an extension by name. |
LibraryDiscovery::__construct | function | core/ |
Constructs a new LibraryDiscovery instance. |
LibraryDiscoveryCollector | class | core/ |
A CacheCollector implementation for building library extension info. |
LibraryDiscoveryCollector.php | file | core/ |
|
LibraryDiscoveryCollector::$discoveryParser | property | core/ |
The library discovery parser. |
LibraryDiscoveryCollector::$themeManager | property | core/ |
The theme manager. |
LibraryDiscoveryCollector::applyLibrariesExtend | function | core/ |
Applies the libraries-extend specified by the active theme. |
LibraryDiscoveryCollector::clearCachedDefinitions | function | core/ |
Clears static and persistent cache. |
LibraryDiscoveryCollector::getCid | function | core/ |
Gets the cache ID. |
LibraryDiscoveryCollector::getLibrariesByExtension | function | core/ |
Gets all libraries defined by an extension. |
LibraryDiscoveryCollector::getLibraryByName | function | core/ |
Gets a single library defined by an extension by name. |
LibraryDiscoveryCollector::getLibraryDefinitions | function | core/ |
Returns the library definitions for a given extension. |
LibraryDiscoveryCollector::reset | function | core/ |
Resets the local cache. |
LibraryDiscoveryCollector::resolveCacheMiss | function | core/ |
Resolves a cache miss. |
LibraryDiscoveryCollector::__construct | function | core/ |
Constructs a CacheCollector object. |
LibraryDiscoveryCollectorTest | class | core/ |
@coversDefaultClass \Drupal\Core\Asset\LibraryDiscoveryCollector @group Asset |
LibraryDiscoveryCollectorTest.php | file | core/ |
|
LibraryDiscoveryCollectorTest::$activeTheme | property | core/ |
|
LibraryDiscoveryCollectorTest::$cache | property | core/ |
The mock cache backend. |
LibraryDiscoveryCollectorTest::$libraryData | property | core/ |
Test library data. |
LibraryDiscoveryCollectorTest::$libraryDiscoveryCollector | property | core/ |
The library discovery collector under test. |
LibraryDiscoveryCollectorTest::$libraryDiscoveryParser | property | core/ |
The mock library discovery parser. |
LibraryDiscoveryCollectorTest::$lock | property | core/ |
The mock lock backend. |
LibraryDiscoveryCollectorTest::$themeManager | property | core/ |
The mocked theme manager. |
LibraryDiscoveryCollectorTest::setUp | function | core/ |
|
LibraryDiscoveryCollectorTest::testDestruct | function | core/ |
Tests the destruct method. |
Pagination
- Previous page
- Page 4
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.