Search for to
| Title | Object type | File name | Summary |
|---|---|---|---|
| ComponentPluginManager::makePathRelativeToLibraryRoot | function | core/ |
Takes a path and makes it relative to the library provider. |
| ComponentsIsolatedBuildTest::addExpectedRepositories | function | core/ |
Adds expected repositories as path repositories to package under test. |
| ComponentsTwigExtension::getNodeVisitors | function | core/ |
|
| ComponentValidator | class | core/ |
Validates a component based on its definition and the component schema. |
| ComponentValidator.php | file | core/ |
|
| ComponentValidator::$validator | property | core/ |
The schema validator. |
| ComponentValidator::getClassProps | function | core/ |
Gets the props that are not JSON based. |
| ComponentValidator::nullifyClassPropsSchema | function | core/ |
Utility method to ensure the schema for class props is set to 'null'. |
| ComponentValidator::setValidator | function | core/ |
Sets the validator service if available. |
| ComponentValidator::validateClassProps | function | core/ |
Validates the props that are not JSON Schema. |
| ComponentValidator::validateDefinition | function | core/ |
Validates the component metadata file. |
| ComponentValidator::validateProps | function | core/ |
Validates that the props provided to the component. |
| ComponentValidatorTest | class | core/ |
Unit tests for the component validation. |
| ComponentValidatorTest.php | file | core/ |
|
| ComponentValidatorTest::dataProviderValidateDefinitionInvalid | function | core/ |
Data provider with invalid component definitions. |
| ComponentValidatorTest::dataProviderValidateDefinitionValid | function | core/ |
Data provider with valid component definitions. |
| ComponentValidatorTest::dataProviderValidatePropsInvalid | function | core/ |
Data provider with invalid component props. |
| ComponentValidatorTest::dataProviderValidatePropsValid | function | core/ |
Data provider with valid component props. |
| ComponentValidatorTest::loadComponentDefinitionFromFs | function | core/ |
Loads a component definition from the component name. |
| ComponentValidatorTest::testCustomValidator | function | core/ |
Tests we can use a custom validator to validate props. |
| ComponentValidatorTest::testValidateDefinitionInvalid | function | core/ |
Tests invalid component definitions. |
| ComponentValidatorTest::testValidateDefinitionValid | function | core/ |
Tests that valid component definitions don't cause errors. |
| ComponentValidatorTest::testValidatePropsInvalid | function | core/ |
Tests that invalid props are handled properly. |
| ComponentValidatorTest::testValidatePropsValid | function | core/ |
Tests that valid props are handled properly. |
| Composer::preAutoloadDump | function | core/ |
Add vendor classes to Composer's static classmap. |
| ComposerInspector | class | core/ |
Defines a class to get information from Composer. |
| ComposerInspector.php | file | core/ |
|
| ComposerInspector::$packageLists | property | core/ |
Statically cached installed package lists, keyed by directory. |
| ComposerInspector::$processCallback | property | core/ |
The process output callback. |
| ComposerInspector::getAllowPluginsConfig | function | core/ |
Returns the value of `allow-plugins` config setting. |
| ComposerInspector::getConfig | function | core/ |
Returns a config value from Composer. |
| ComposerInspector::getInstalledPackagesList | function | core/ |
Returns the installed packages list. |
| ComposerInspector::getPackageTypes | function | core/ |
Loads package types from the lock file. |
| ComposerInspector::getRootPackageInfo | function | core/ |
Returns the output of `composer show --self` in a directory. |
| ComposerInspector::getVersion | function | core/ |
Returns the current Composer version. |
| ComposerInspector::invalidateCacheIfNeeded | function | core/ |
Invalidates cached data if composer.json or composer.lock have changed. |
| ComposerInspector::setLogger | function | core/ |
|
| ComposerInspector::show | function | core/ |
Gets the installed packages data from running `composer show`. |
| ComposerInspector::SUPPORTED_VERSION | constant | core/ |
A semantic version constraint for the supported version(s) of Composer. |
| ComposerInspector::validate | function | core/ |
Checks that Composer commands can be run. |
| ComposerInspector::validateExecutable | function | core/ |
Validates that the Composer executable exists in a supported version. |
| ComposerInspector::validateProject | function | core/ |
Checks that `composer.json` is valid and `composer.lock` exists. |
| ComposerInspector::__construct | function | core/ |
|
| ComposerInspectorTest | class | core/ |
Tests Drupal\package_manager\ComposerInspector. |
| ComposerInspectorTest.php | file | core/ |
|
| ComposerInspectorTest::mockComposerRunner | function | core/ |
Mocks the Composer runner service to return a particular version string. |
| ComposerInspectorTest::providerAllowedPlugins | function | core/ |
Data provider for ::testAllowedPlugins(). |
| ComposerInspectorTest::testAllowedPlugins | function | core/ |
Tests ComposerInspector's parsing of the allowed plugins list. |
| ComposerInspectorTest::testComposerFilesDoNotExist | function | core/ |
Tests what happens when composer.json or composer.lock are missing. |
| ComposerInspectorTest::testComposerUnavailable | function | core/ |
Tests composer unavailable. |
Pagination
- Previous page
- Page 36
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.