ComponentTranslationTest::buildSourceString |
function |
core/tests/Drupal/KernelTests/Components/ComponentTranslationTest.php |
Creates random source string object. |
ComponentTranslationTest::createTranslation |
function |
core/tests/Drupal/KernelTests/Components/ComponentTranslationTest.php |
Creates single translation for source string. |
ComponentTranslationTest::request |
function |
core/tests/Drupal/KernelTests/Components/ComponentTranslationTest.php |
Passes a request to the HTTP kernel and returns a response. |
ComponentTranslationTest::setUp |
function |
core/tests/Drupal/KernelTests/Components/ComponentTranslationTest.php |
|
ComponentTranslationTest::testEnumPropsCanBeTranslated |
function |
core/tests/Drupal/KernelTests/Components/ComponentTranslationTest.php |
Test that components render enum props correctly with their translations. |
ComponentValidator |
class |
core/lib/Drupal/Core/Theme/Component/ComponentValidator.php |
Validates a component based on its definition and the component schema. |
ComponentValidator |
class |
core/modules/sdc/src/Component/ComponentValidator.php |
Validates a component based on its definition and the component schema. |
ComponentValidator.php |
file |
core/modules/sdc/src/Component/ComponentValidator.php |
|
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::$validator |
property |
core/modules/sdc/src/Component/ComponentValidator.php |
The schema validator. |
ComponentValidator::getClassProps |
function |
core/modules/sdc/src/Component/ComponentValidator.php |
Gets the props that are not JSON based. |
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::nullifyClassPropsSchema |
function |
core/modules/sdc/src/Component/ComponentValidator.php |
Utility method to ensure the schema for class props is set to 'null'. |
ComponentValidator::setValidator |
function |
core/modules/sdc/src/Component/ComponentValidator.php |
Sets the validator service if available. |
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::validateClassProps |
function |
core/modules/sdc/src/Component/ComponentValidator.php |
Validates the props that are not JSON Schema. |
ComponentValidator::validateDefinition |
function |
core/modules/sdc/src/Component/ComponentValidator.php |
Validates the component metadata file. |
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. |
ComponentValidator::validateProps |
function |
core/modules/sdc/src/Component/ComponentValidator.php |
Validates that the props provided to the component. |
ComponentValidatorTest |
class |
core/modules/sdc/tests/src/Unit/ComponentValidatorTest.php |
Unit tests for the component validation. |
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.php |
file |
core/modules/sdc/tests/src/Unit/ComponentValidatorTest.php |
|
ComponentValidatorTest::dataProviderValidateDefinitionInvalid |
function |
core/modules/sdc/tests/src/Unit/ComponentValidatorTest.php |
Data provider with invalid component definitions. |
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::dataProviderValidateDefinitionValid |
function |
core/modules/sdc/tests/src/Unit/ComponentValidatorTest.php |
Data provider with valid component definitions. |
ComponentValidatorTest::dataProviderValidatePropsInvalid |
function |
core/modules/sdc/tests/src/Unit/ComponentValidatorTest.php |
Data provider with invalid component props. |
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::dataProviderValidatePropsValid |
function |
core/modules/sdc/tests/src/Unit/ComponentValidatorTest.php |
Data provider with valid component props. |
ComponentValidatorTest::loadComponentDefinitionFromFs |
function |
core/modules/sdc/tests/src/Unit/ComponentValidatorTest.php |
Loads a component definition from the component name. |
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::testValidateDefinitionInvalid |
function |
core/modules/sdc/tests/src/Unit/ComponentValidatorTest.php |
Tests invalid component definitions. |
ComponentValidatorTest::testValidateDefinitionValid |
function |
core/modules/sdc/tests/src/Unit/ComponentValidatorTest.php |
Tests that valid component definitions don't cause errors. |
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::testValidatePropsInvalid |
function |
core/modules/sdc/tests/src/Unit/ComponentValidatorTest.php |
Tests that invalid props are handled properly. |
ComponentValidatorTest::testValidatePropsValid |
function |
core/modules/sdc/tests/src/Unit/ComponentValidatorTest.php |
Tests that valid props are handled properly. |
ComponentValidatorTest::testValidatePropsValid |
function |
core/tests/Drupal/Tests/Core/Theme/Component/ComponentValidatorTest.php |
Tests that valid props are handled properly. |
Composer::generateComponentPackages |
function |
composer/Composer.php |
Update component packages whenever composer.lock is updated. |
ComposerBuildTestBase::$componentsPath |
property |
core/tests/Drupal/BuildTests/Composer/ComposerBuildTestBase.php |
Relative path from Drupal root to the Components directory. |
ComposerBuildTestBase::getComponentPathsFinder |
function |
core/tests/Drupal/BuildTests/Composer/ComposerBuildTestBase.php |
Find all the composer.json files for components. |
ComposerIntegrationTest::testAllCoreComponentsReplaced |
function |
core/tests/Drupal/Tests/ComposerIntegrationTest.php |
Tests core's composer.json replace section. |