Search for library
- Search 7.x for library
- Search 9.5.x for library
- Search 8.9.x for library
- Search 11.x for library
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| 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/ |
|
| 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::testDeprecatedLibrary | function | core/ |
Test library deprecation support. |
| 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. |
| LibraryDiscoveryIntegrationTest::testLibrariesOverridesMultiple | function | core/ |
Tests libraries overrides with multiple parent themes. |
| 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::$componentPluginManager | property | core/ |
The component plugin manager. |
| LibraryDiscoveryParser::$extensionPathResolver | property | core/ |
The extension path resolver. |
| LibraryDiscoveryParser::$fileCache | property | core/ |
The file cache. |
| 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::applyLibrariesMovedOverrides | function | core/ |
Apply overrides to files that have moved. |
| 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::isValidUri | function | core/ |
Determines if the supplied string is a valid URI. |
| LibraryDiscoveryParser::librariesForComponents | function | core/ |
Builds the dynamic library definitions for single-directory components. |
| LibraryDiscoveryParser::parseLibraryInfo | function | core/ |
Parses a given library file and allows modules and themes to alter it. |
| LibraryDiscoveryParser::resolveThemeAssetPath | function | core/ |
Ensures that a full path is returned for an overriding theme asset. |
| LibraryDiscoveryParser::setOverrideValue | function | core/ |
Overrides the specified library asset. |
| LibraryDiscoveryParser::validateCssLibrary | function | core/ |
Validates CSS library structure. |
| LibraryDiscoveryParser::__construct | function | core/ |
Constructs a new LibraryDiscoveryParser instance. |
| LibraryDiscoveryParserTest | class | core/ |
@coversDefaultClass \Drupal\Core\Asset\LibraryDiscoveryParser[[api-linebreak]] @group Asset |
| LibraryDiscoveryParserTest.php | file | core/ |
|
| LibraryDiscoveryParserTest::$activeTheme | property | core/ |
The mocked active theme. |
| LibraryDiscoveryParserTest::$cache | property | core/ |
The mocked cache backend. |
| LibraryDiscoveryParserTest::$componentPluginManager | property | core/ |
The mocked extension path resolver. |
| LibraryDiscoveryParserTest::$extensionPathResolver | property | core/ |
The mocked extension path resolver. |
| LibraryDiscoveryParserTest::$librariesDirectoryFileFinder | property | core/ |
The mocked libraries directory file finder. |
| LibraryDiscoveryParserTest::$libraryDiscoveryParser | property | core/ |
The tested library discovery parser service. |
Pagination
- Previous page
- Page 5
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.