Search for parse
- Search 7.x for parse
- Search 8.9.x for parse
- Search 10.3.x for parse
- Search 11.x for parse
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| 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[[api-linebreak]] @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. |
| 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. |
| LibraryDiscoveryParserTest::testEmptyLibraryFile | function | core/ |
@covers ::parseLibraryInfo[[api-linebreak]] |
| LibraryDiscoveryParserTest::testExternalLibraries | function | core/ |
Tests that the version property of external libraries is handled. |
| LibraryDiscoveryParserTest::testInvalidLibrariesFile | function | core/ |
Tests that an exception is thrown when a libraries file couldn't be parsed. |
| LibraryDiscoveryParserTest::testJsWithPositiveWeight | function | core/ |
Ensures that you cannot provide positive weights for JavaScript libraries. |
| LibraryDiscoveryParserTest::testLibraryOverride | function | core/ |
Tests libraries with overrides. |
| LibraryDiscoveryParserTest::testLibraryOverrideDeprecated | function | core/ |
Tests deprecated library with an override. |
| LibraryDiscoveryParserTest::testLibraryThirdPartyWithMissingLicense | function | core/ |
Tests that an exception is thrown when license is missing when 3rd party. |
| LibraryDiscoveryParserTest::testLibraryWithCssJsSetting | function | core/ |
Tests a library with CSS/JavaScript and a setting. |
| LibraryDiscoveryParserTest::testLibraryWithDataTypes | function | core/ |
Tests a library with a couple of data formats like full URL. |
| LibraryDiscoveryParserTest::testLibraryWithDependencies | function | core/ |
Tests a library with dependencies. |
| LibraryDiscoveryParserTest::testLibraryWithJavaScript | function | core/ |
Tests a library with JavaScript-specific flags. |
| LibraryDiscoveryParserTest::testLibraryWithLicenses | function | core/ |
Tests a library with various licenses, some GPL-compatible, some not. |
| LibraryDiscoveryParserTest::testNonCoreLibrariesFound | function | core/ |
@covers ::buildByExtension[[api-linebreak]] |
| LibraryDiscoveryParserTest::testNonCoreLibrariesNotFound | function | core/ |
@covers ::buildByExtension[[api-linebreak]] |
| LibraryDiscoveryParserTest::testVersion | function | core/ |
Tests the version property, and how it propagates to the contained assets. |
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.