Search for library
- Search 7.x for library
- Search 8.9.x for library
- Search 10.3.x for library
- Search 11.x for library
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
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::$moduleHandler | property | core/ |
The mocked module handler. |
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::$libraryDefinitions | property | core/ |
The final library definitions, statically cached. |
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::getCid | function | core/ |
Gets the cache ID. |
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. |
LibraryDiscoveryCollectorTest::testLibrariesExtend | function | core/ |
Tests library with an extend. |
LibraryDiscoveryCollectorTest::testLibrariesExtendDeprecated | function | core/ |
Tests a deprecated library with an extend. |
LibraryDiscoveryCollectorTest::testResolveCacheMiss | function | core/ |
Tests the resolve cache miss function. |
LibraryDiscoveryIntegrationTest | class | core/ |
Tests the library discovery and library discovery parser. |
LibraryDiscoveryIntegrationTest.php | file | core/ |
|
LibraryDiscoveryIntegrationTest::$libraryDiscovery | property | core/ |
The library discovery service. |
LibraryDiscoveryIntegrationTest::$modules | property | core/ |
Modules to enable. |
LibraryDiscoveryIntegrationTest::activateTheme | function | core/ |
Activates a specified theme. |
LibraryDiscoveryIntegrationTest::assertAssetInLibrary | function | core/ |
Asserts that the specified asset is in the given library. |
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.