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 |
---|---|---|---|
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 deprecated libraries. |
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::$extensionPathResolver | property | core/ |
The extension path resolver. |
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::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 @group Asset |
LibraryDiscoveryParserTest.php | file | core/ |
Contains \Drupal\Tests\Core\Asset\LibraryDiscoveryParserTest. |
LibraryDiscoveryParserTest::$activeTheme | property | core/ |
The mocked active theme. |
LibraryDiscoveryParserTest::$cache | property | core/ |
The mocked cache backend. |
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. |
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. |
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.