Search for all
| Title | Object type | File name | Summary |
|---|---|---|---|
| ComponentRenderTest::testRenderAttributeMerging | function | core/ |
Ensures the attributes are merged properly. |
| ComponentRenderTest::testRenderElementAlters | function | core/ |
Ensures the alter callbacks work properly. |
| ComponentRenderTest::testRenderEmbedWithNested | function | core/ |
Render a card with slots that include a CTA component. |
| ComponentRenderTest::testRenderEmptyProps | function | core/ |
Ensure that components can have 0 props. |
| ComponentRenderTest::testRenderIncludeDataMapping | function | core/ |
Check using a component with an include and no default context. |
| ComponentRenderTest::testRenderIncludeDefaultContent | function | core/ |
Check using a component with an include and default context. |
| ComponentRenderTest::testRenderInvalidSlot | function | core/ |
Ensure that the slots throw an error for invalid slots. |
| ComponentRenderTest::testRenderLibraryOverrides | function | core/ |
Check using the libraryOverrides. |
| ComponentRenderTest::testRenderNonExistingComponent | function | core/ |
Ensures that including an invalid component creates an error. |
| ComponentRenderTest::testRenderPropValidation | function | core/ |
Ensures the schema violations are reported properly. |
| ComponentRenderTest::testRenderSlots | function | core/ |
Ensure that the slots allow a render array or a scalar when using the render element. |
| ComponentRenderTest::testVariants | function | core/ |
Ensure that components variants render. |
| 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. |
| ComponentTestDoesNotExtendCoreTest | class | core/ |
Ensures that no component tests are extending a core test base class. |
| ComponentTestDoesNotExtendCoreTest.php | file | core/ |
|
| ComponentTestDoesNotExtendCoreTest::getNodeType | function | core/ |
|
| ComponentTestDoesNotExtendCoreTest::processNode | function | core/ |
|
| ComponentTestDoesNotExtendCoreTest::__construct | function | core/ |
|
| ComponentTestDoesNotExtendCoreTestTest | class | core/ |
Tests ComponentTestDoesNotExtendCoreTest rule. |
| ComponentTestDoesNotExtendCoreTestTest.php | file | core/ |
|
| ComponentTestDoesNotExtendCoreTestTest::getRule | function | core/ |
|
| ComponentTestDoesNotExtendCoreTestTest::testRule | 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/ |
Pagination
- Previous page
- Page 210
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.