Search for on
Title | Object type | File name | Summary |
---|---|---|---|
ComponentRenderTest::$modules | property | core/ |
Modules to install. |
ComponentRenderTest::$themes | property | core/ |
Themes to install. |
ComponentRenderTest::checkArrayObjectTypeCast | function | core/ |
Ensure fuzzy coercing of arrays and objects works properly. |
ComponentRenderTest::checkAttributeMerging | function | core/ |
Ensures the attributes are merged properly. |
ComponentRenderTest::checkEmbedWithNested | function | core/ |
Render a card with slots that include a CTA component. |
ComponentRenderTest::checkEmptyProps | function | core/ |
Ensure that components can have 0 props. |
ComponentRenderTest::checkIncludeDataMapping | function | core/ |
Check using a component with an include and no default context. |
ComponentRenderTest::checkIncludeDefaultContent | function | core/ |
Check using a component with an include and default context. |
ComponentRenderTest::checkInvalidSlot | function | core/ |
Ensure that the slots throw an error for invalid slots. |
ComponentRenderTest::checkLibraryOverrides | function | core/ |
Check using the libraryOverrides. |
ComponentRenderTest::checkNonExistingComponent | function | core/ |
Ensures that including an invalid component creates an error. |
ComponentRenderTest::checkPropValidation | function | core/ |
Ensures the schema violations are reported properly. |
ComponentRenderTest::checkRenderElementAlters | function | core/ |
Ensures the alter callbacks work properly. |
ComponentRenderTest::checkSlots | function | core/ |
Ensure that the slots allow a render array or a scalar when using the render element. |
ComponentRenderTest::testCssLibraryAttachesCorrectly | function | core/ |
Tests that the correct libraries are put on the page using CSS. |
ComponentRenderTest::testJsLibraryAttachesCorrectly | function | core/ |
Tests that the correct libraries are put on the page using JS. |
ComponentRenderTest::testLibraryOverrides | function | core/ |
Tests libraryOverrides. |
ComponentRenderTest::testPluginDefinition | function | core/ |
Ensures some key aspects of the plugin definition are correctly computed. |
ComponentRenderTest::testRender | function | core/ |
Test that components render correctly. |
ComponentsIsolatedBuildTest | class | core/ |
Try to install dependencies per component, using Composer. |
ComponentsIsolatedBuildTest.php | file | core/ |
|
ComponentsIsolatedBuildTest::addExpectedRepositories | function | core/ |
Adds expected repositories as path repositories to package under test. |
ComponentsIsolatedBuildTest::provideComponentPaths | function | core/ |
Provides an array with relative paths to the component paths. |
ComponentsIsolatedBuildTest::testComponentComposerJson | function | core/ |
Test whether components' composer.json can be installed in isolation. |
ComponentsTaggedReleaseTest | class | core/ |
Demonstrate that the Component generator responds to release tagging. |
ComponentsTaggedReleaseTest.php | file | core/ |
|
ComponentsTaggedReleaseTest::providerVersionConstraint | function | core/ |
Highly arbitrary version and constraint expectations. |
ComponentsTaggedReleaseTest::testReleaseTagging | function | core/ |
Validate release tagging and regeneration of dependencies. |
ComponentsTwigExtension | class | core/ |
The twig extension so Drupal can recognize the new code. |
ComponentsTwigExtension.php | file | core/ |
|
ComponentsTwigExtension::addAdditionalContext | function | core/ |
Appends additional context to the template based on the template id. |
ComponentsTwigExtension::doValidateProps | function | core/ |
Performs the actual validation of the schema for the props. |
ComponentsTwigExtension::getFunctions | function | core/ |
|
ComponentsTwigExtension::getNodeVisitors | function | core/ |
|
ComponentsTwigExtension::mergeAdditionalRenderContext | function | core/ |
Calculates additional context for this template. |
ComponentsTwigExtension::validateProps | function | core/ |
Validates the props in development environments. |
ComponentsTwigExtension::__construct | function | core/ |
Creates TwigExtension. |
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. |
Pagination
- Previous page
- Page 81
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.