Search for discovery
- Search 7.x for discovery
- Search 9.5.x for discovery
- Search 10.3.x for discovery
- Search 11.x for discovery
- Search main for discovery
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| 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[[api-linebreak]] @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::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::activateTheme | function | core/ |
Activates a specified theme. |
| LibraryDiscoveryIntegrationTest::assertAssetInLibrary | function | core/ |
Asserts that the specified asset is in the given library. |
| LibraryDiscoveryIntegrationTest::assertNoAssetInLibrary | function | core/ |
Asserts that the specified asset is not in the given library. |
| LibraryDiscoveryIntegrationTest::setUp | function | core/ |
|
| LibraryDiscoveryIntegrationTest::testBaseThemeLibrariesOverrideInSubTheme | function | core/ |
Tests that base theme libraries-override still apply in sub themes. |
| LibraryDiscoveryIntegrationTest::testHookLibraryInfoByTheme | function | core/ |
Tests that hook_library_info is invoked and the cache is cleared. |
| LibraryDiscoveryIntegrationTest::testLibrariesExtend | function | core/ |
Tests libraries-extend. |
| LibraryDiscoveryIntegrationTest::testLibrariesOverride | function | core/ |
Tests that libraries-override are applied to library definitions. |
| LibraryDiscoveryIntegrationTest::testLibrariesOverrideDrupalSettings | function | core/ |
Tests libraries-override on drupalSettings. |
| LibraryDiscoveryIntegrationTest::testLibrariesOverrideMalformedAsset | function | core/ |
Tests libraries-override on malformed assets. |
| LibraryDiscoveryIntegrationTest::testLibrariesOverrideOtherAssetLibraryNames | function | core/ |
Tests library assets with other ways for specifying paths. |
| LibraryDiscoveryInterface | interface | core/ |
Discovers information for asset (CSS/JavaScript) libraries. |
| LibraryDiscoveryInterface.php | file | core/ |
|
| LibraryDiscoveryInterface::clearCachedDefinitions | function | core/ |
Clears static and persistent library definition caches. |
| LibraryDiscoveryInterface::getLibrariesByExtension | function | core/ |
Gets all libraries defined by an extension. |
| LibraryDiscoveryInterface::getLibraryByName | function | core/ |
Gets a single library defined by an extension by name. |
| LibraryDiscoveryParser | class | core/ |
Parses library files to get extension data. |
| LibraryDiscoveryParser.php | file | core/ |
|
| LibraryDiscoveryParser::$librariesDirectoryFileFinder | property | core/ |
The libraries directory file finder. |
| LibraryDiscoveryParser::$moduleHandler | property | core/ |
The module handler. |
| LibraryDiscoveryParser::$root | property | core/ |
The app root. |
| LibraryDiscoveryParser::$streamWrapperManager | property | core/ |
The stream wrapper manager. |
| LibraryDiscoveryParser::$themeManager | property | core/ |
The theme manager. |
| LibraryDiscoveryParser::applyLibrariesOverride | function | core/ |
Apply libraries overrides specified for the current active theme. |
| LibraryDiscoveryParser::buildByExtension | function | core/ |
Parses and builds up all the libraries information of an extension. |
| LibraryDiscoveryParser::drupalGetPath | function | core/ |
Wraps drupal_get_path(). |
| LibraryDiscoveryParser::fileValidUri | function | core/ |
Wraps \Drupal\Core\StreamWrapper\StreamWrapperManagerInterface::isValidUri(). |
Pagination
- Previous page
- Page 9
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.