Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 8.9.x for all
  4. Search 10.3.x for all
  5. Search 11.x for all
  6. Other projects
Title Object type File name Summary
ComponentTestDoesNotExtendCoreTestTest::testRule function core/tests/PHPStan/tests/ComponentTestDoesNotExtendCoreTestTest.php
ComponentValidator class core/lib/Drupal/Core/Theme/Component/ComponentValidator.php Validates a component based on its definition and the component schema.
ComponentValidator.php file core/lib/Drupal/Core/Theme/Component/ComponentValidator.php
ComponentValidator::$validator property core/lib/Drupal/Core/Theme/Component/ComponentValidator.php The schema validator.
ComponentValidator::getClassProps function core/lib/Drupal/Core/Theme/Component/ComponentValidator.php Gets the props that are not JSON based.
ComponentValidator::nullifyClassPropsSchema function core/lib/Drupal/Core/Theme/Component/ComponentValidator.php Utility method to ensure the schema for class props is set to 'null'.
ComponentValidator::setValidator function core/lib/Drupal/Core/Theme/Component/ComponentValidator.php Sets the validator service if available.
ComponentValidator::validateClassProps function core/lib/Drupal/Core/Theme/Component/ComponentValidator.php Validates the props that are not JSON Schema.
ComponentValidator::validateDefinition function core/lib/Drupal/Core/Theme/Component/ComponentValidator.php Validates the component metadata file.
ComponentValidator::validateProps function core/lib/Drupal/Core/Theme/Component/ComponentValidator.php Validates that the props provided to the component.
ComponentValidatorTest class core/tests/Drupal/Tests/Core/Theme/Component/ComponentValidatorTest.php Unit tests for the component validation.
ComponentValidatorTest.php file core/tests/Drupal/Tests/Core/Theme/Component/ComponentValidatorTest.php
ComponentValidatorTest::dataProviderValidateDefinitionInvalid function core/tests/Drupal/Tests/Core/Theme/Component/ComponentValidatorTest.php Data provider with invalid component definitions.
ComponentValidatorTest::dataProviderValidateDefinitionValid function core/tests/Drupal/Tests/Core/Theme/Component/ComponentValidatorTest.php Data provider with valid component definitions.
ComponentValidatorTest::dataProviderValidatePropsInvalid function core/tests/Drupal/Tests/Core/Theme/Component/ComponentValidatorTest.php Data provider with invalid component props.
ComponentValidatorTest::dataProviderValidatePropsValid function core/tests/Drupal/Tests/Core/Theme/Component/ComponentValidatorTest.php Data provider with valid component props.
ComponentValidatorTest::loadComponentDefinitionFromFs function core/tests/Drupal/Tests/Core/Theme/Component/ComponentValidatorTest.php Loads a component definition from the component name.
ComponentValidatorTest::testCustomValidator function core/tests/Drupal/Tests/Core/Theme/Component/ComponentValidatorTest.php Tests we can use a custom validator to validate props.
ComponentValidatorTest::testValidateDefinitionInvalid function core/tests/Drupal/Tests/Core/Theme/Component/ComponentValidatorTest.php Tests invalid component definitions.
ComponentValidatorTest::testValidateDefinitionValid function core/tests/Drupal/Tests/Core/Theme/Component/ComponentValidatorTest.php Tests that valid component definitions don't cause errors.
ComponentValidatorTest::testValidatePropsInvalid function core/tests/Drupal/Tests/Core/Theme/Component/ComponentValidatorTest.php Tests that invalid props are handled properly.
ComponentValidatorTest::testValidatePropsValid function core/tests/Drupal/Tests/Core/Theme/Component/ComponentValidatorTest.php Tests that valid props are handled properly.
Composer class core/lib/Drupal/Core/Composer/Composer.php Provides static functions for composer script events.
Composer class composer/Composer.php Provides static functions for composer script events.
Composer.php file composer/Composer.php
Composer.php file core/lib/Drupal/Core/Composer/Composer.php
Composer::composerSubprojectPaths function composer/Composer.php Return the list of subprojects of a given type.
Composer::drupalVersionBranch function composer/Composer.php Return the branch name the current Drupal version is associated with.
Composer::ensureComposerVersion function composer/Composer.php Ensure that the minimum required version of Composer is running.
Composer::generateComponentPackages function composer/Composer.php Update component packages whenever composer.lock is updated.
Composer::generateMetapackages function composer/Composer.php Update metapackages whenever composer.lock is updated.
Composer::setDrupalVersion function composer/Composer.php Set the version of Drupal; used in release process and by the test suite.
Composer::setTemplateProjectStability function composer/Composer.php Set the stability of the template projects to match the Drupal version.
Composer::upgradePHPUnit function core/lib/Drupal/Core/Composer/Composer.php Fires the drupal-phpunit-upgrade script event if necessary.
Composer::upgradePHPUnitCheck function core/lib/Drupal/Core/Composer/Composer.php Determines if PHPUnit needs to be upgraded.
ComposerBuildTestBase class core/tests/Drupal/BuildTests/Composer/ComposerBuildTestBase.php Base class for Composer build tests.
ComposerBuildTestBase.php file core/tests/Drupal/BuildTests/Composer/ComposerBuildTestBase.php
ComposerBuildTestBase::$componentsPath property core/tests/Drupal/BuildTests/Composer/ComposerBuildTestBase.php Relative path from Drupal root to the Components directory.
ComposerBuildTestBase::assertDrupalVersion function core/tests/Drupal/BuildTests/Composer/ComposerBuildTestBase.php Assert that the VERSION constant in Drupal.php is the expected value.
ComposerBuildTestBase::getComponentPathsFinder function core/tests/Drupal/BuildTests/Composer/ComposerBuildTestBase.php Find all the composer.json files for components.
ComposerHookTest class core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ComposerHookTest.php Tests Composer Hooks that run scaffold operations.
ComposerHookTest.php file core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ComposerHookTest.php
ComposerHookTest::$fileSystem property core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ComposerHookTest.php The Symfony FileSystem component.
ComposerHookTest::$fixtures property core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ComposerHookTest.php The Fixtures object.
ComposerHookTest::$fixturesDir property core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ComposerHookTest.php Directory to perform the tests in.
ComposerHookTest::setUp function core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ComposerHookTest.php
ComposerHookTest::tearDown function core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ComposerHookTest.php
ComposerHookTest::testComposerHooks function core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ComposerHookTest.php Tests to see if scaffold operation runs at the correct times.
ComposerHookTest::testScaffoldEvents function core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ComposerHookTest.php Tests to see if scaffold events are dispatched and picked up by the plugin.
ComposerHookTest::testScaffoldMessagesDoNotPrintTwice function core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ComposerHookTest.php Tests to see if scaffold messages are omitted when running scaffold twice.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.