Search for library
- Search 7.x for library
- Search 9.5.x for library
- Search 10.3.x for library
- Search 11.x for library
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| 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(). |
| LibraryDiscoveryParser::isValidUri | function | core/ |
Determines if the supplied string is a valid URI. |
| 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/ |
Contains \Drupal\Tests\Core\Asset\LibraryDiscoveryParserTest. |
| LibraryDiscoveryParserTest::$cache | property | core/ |
The mocked cache backend. |
| LibraryDiscoveryParserTest::$librariesDirectoryFileFinder | property | core/ |
The mocked libraries directory file finder. |
| LibraryDiscoveryParserTest::$libraryDiscoveryParser | property | core/ |
The tested library discovery parser service. |
| LibraryDiscoveryParserTest::$lock | property | core/ |
The mocked lock backend. |
| LibraryDiscoveryParserTest::$moduleHandler | property | core/ |
The mocked module handler. |
| LibraryDiscoveryParserTest::$streamWrapperManager | property | core/ |
The mocked stream wrapper manager. |
| LibraryDiscoveryParserTest::$themeManager | property | core/ |
The mocked theme manager. |
| LibraryDiscoveryParserTest::providerTestCssAssert | function | core/ |
Data provider for testing bad CSS declarations. |
| LibraryDiscoveryParserTest::setUp | function | core/ |
|
| LibraryDiscoveryParserTest::testBuildByExtensionSimple | function | core/ |
Tests that basic functionality works for getLibraryByName. |
| LibraryDiscoveryParserTest::testBuildByExtensionWithMissingInformation | function | core/ |
Tests that an exception is thrown with only the version property specified. |
| LibraryDiscoveryParserTest::testBuildByExtensionWithMissingLibraryFile | function | core/ |
Tests that a module with a missing library file results in FALSE. |
| LibraryDiscoveryParserTest::testBuildByExtensionWithOnlyDependencies | function | core/ |
Tests that no exception is thrown when only dependencies are specified. |
| LibraryDiscoveryParserTest::testBuildByExtensionWithTheme | function | core/ |
Tests that a theme can be used instead of a module. |
| LibraryDiscoveryParserTest::testCssAssert | function | core/ |
Verify an assertion fails if CSS declarations have non-existent categories. |
| LibraryDiscoveryParserTest::testDefaultCssWeights | function | core/ |
Ensures that CSS weights are taken into account properly. |
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.