Search for %s

  1. Search 7.x for %s
  2. Search 9.5.x for %s
  3. Search 8.9.x for %s
  4. Search 10.3.x for %s
  5. Search 11.x for %s
  6. Other projects
Title Object type File name Summary
ComponentRenderTest::testCssOrder function core/tests/Drupal/KernelTests/Component/ComponentRenderTest.php Tests the CSS load order.
ComponentRenderTest::testJsLibraryAttachesCorrectly function core/tests/Drupal/FunctionalJavascriptTests/Components/ComponentRenderTest.php Tests that the correct libraries are put on the page using JS.
ComponentRenderTest::testLibraryOverrides function core/tests/Drupal/FunctionalTests/Components/ComponentRenderTest.php Tests libraryOverrides.
ComponentRenderTest::testPluginDefinition function core/tests/Drupal/KernelTests/Components/ComponentRenderTest.php Ensures some key aspects of the plugin definition are correctly computed.
ComponentRenderTest::testRenderArrayObjectTypeCast function core/tests/Drupal/KernelTests/Components/ComponentRenderTest.php Ensure fuzzy coercing of arrays and objects works properly.
ComponentRenderTest::testRenderAttributeMerging function core/tests/Drupal/KernelTests/Components/ComponentRenderTest.php Ensures the attributes are merged properly.
ComponentRenderTest::testRenderElementAlters function core/tests/Drupal/KernelTests/Components/ComponentRenderTest.php Ensures the alter callbacks work properly.
ComponentRenderTest::testRenderEmbedWithNested function core/tests/Drupal/KernelTests/Components/ComponentRenderTest.php Render a card with slots that include a CTA component.
ComponentRenderTest::testRenderEmptyProps function core/tests/Drupal/KernelTests/Components/ComponentRenderTest.php Ensure that components can have 0 props.
ComponentRenderTest::testRenderIncludeDataMapping function core/tests/Drupal/KernelTests/Components/ComponentRenderTest.php Check using a component with an include and no default context.
ComponentRenderTest::testRenderIncludeDefaultContent function core/tests/Drupal/KernelTests/Components/ComponentRenderTest.php Check using a component with an include and default context.
ComponentRenderTest::testRenderInvalidSlot function core/tests/Drupal/KernelTests/Components/ComponentRenderTest.php Ensure that the slots throw an error for invalid slots.
ComponentRenderTest::testRenderLibraryOverrides function core/tests/Drupal/KernelTests/Components/ComponentRenderTest.php Check using the libraryOverrides.
ComponentRenderTest::testRenderNonExistingComponent function core/tests/Drupal/KernelTests/Components/ComponentRenderTest.php Ensures that including an invalid component creates an error.
ComponentRenderTest::testRenderPropValidation function core/tests/Drupal/KernelTests/Components/ComponentRenderTest.php Ensures the schema violations are reported properly.
ComponentRenderTest::testRenderSlots function core/tests/Drupal/KernelTests/Components/ComponentRenderTest.php Ensure that the slots allow a render array or a scalar when using the render element.
ComponentRenderTest::testVariants function core/tests/Drupal/KernelTests/Components/ComponentRenderTest.php Ensure that components variants render.
ComponentsIsolatedBuildTest class core/tests/Drupal/BuildTests/Composer/Component/ComponentsIsolatedBuildTest.php Try to install dependencies per component, using Composer.
ComponentsIsolatedBuildTest.php file core/tests/Drupal/BuildTests/Composer/Component/ComponentsIsolatedBuildTest.php
ComponentsIsolatedBuildTest::addExpectedRepositories function core/tests/Drupal/BuildTests/Composer/Component/ComponentsIsolatedBuildTest.php Adds expected repositories as path repositories to package under test.
ComponentsIsolatedBuildTest::provideComponentPaths function core/tests/Drupal/BuildTests/Composer/Component/ComponentsIsolatedBuildTest.php Provides an array with relative paths to the component paths.
ComponentsIsolatedBuildTest::testComponentComposerJson function core/tests/Drupal/BuildTests/Composer/Component/ComponentsIsolatedBuildTest.php Test whether components' composer.json can be installed in isolation.
ComponentsTaggedReleaseTest class core/tests/Drupal/BuildTests/Composer/Component/ComponentsTaggedReleaseTest.php Demonstrate that the Component generator responds to release tagging.
ComponentsTaggedReleaseTest.php file core/tests/Drupal/BuildTests/Composer/Component/ComponentsTaggedReleaseTest.php
ComponentsTaggedReleaseTest::providerVersionConstraint function core/tests/Drupal/BuildTests/Composer/Component/ComponentsTaggedReleaseTest.php Highly arbitrary version and constraint expectations.
ComponentsTaggedReleaseTest::testReleaseTagging function core/tests/Drupal/BuildTests/Composer/Component/ComponentsTaggedReleaseTest.php Validate release tagging and regeneration of dependencies.
ComponentsTwigExtension class core/lib/Drupal/Core/Template/ComponentsTwigExtension.php The twig extension so Drupal can recognize the new code.
ComponentsTwigExtension.php file core/lib/Drupal/Core/Template/ComponentsTwigExtension.php
ComponentsTwigExtension::addAdditionalContext function core/lib/Drupal/Core/Template/ComponentsTwigExtension.php Appends additional context to the template based on the template id.
ComponentsTwigExtension::doValidateProps function core/lib/Drupal/Core/Template/ComponentsTwigExtension.php Performs the actual validation of the schema for the props.
ComponentsTwigExtension::getFunctions function core/lib/Drupal/Core/Template/ComponentsTwigExtension.php
ComponentsTwigExtension::getNodeVisitors function core/lib/Drupal/Core/Template/ComponentsTwigExtension.php
ComponentsTwigExtension::mergeAdditionalRenderContext function core/lib/Drupal/Core/Template/ComponentsTwigExtension.php Calculates additional context for this template.
ComponentsTwigExtension::validateProps function core/lib/Drupal/Core/Template/ComponentsTwigExtension.php Validates the props in development environments.
ComponentsTwigExtension::__construct function core/lib/Drupal/Core/Template/ComponentsTwigExtension.php Creates TwigExtension.
ComponentTestDoesNotExtendCoreTest class core/tests/PHPStan/Rules/ComponentTestDoesNotExtendCoreTest.php Ensures that no component tests are extending a core test base class.
ComponentTestDoesNotExtendCoreTest.php file core/tests/PHPStan/Rules/ComponentTestDoesNotExtendCoreTest.php
ComponentTestDoesNotExtendCoreTest::getNodeType function core/tests/PHPStan/Rules/ComponentTestDoesNotExtendCoreTest.php
ComponentTestDoesNotExtendCoreTest::processNode function core/tests/PHPStan/Rules/ComponentTestDoesNotExtendCoreTest.php
ComponentTestDoesNotExtendCoreTest::__construct function core/tests/PHPStan/Rules/ComponentTestDoesNotExtendCoreTest.php
ComponentTestDoesNotExtendCoreTestTest class core/tests/PHPStan/tests/ComponentTestDoesNotExtendCoreTestTest.php Tests ComponentTestDoesNotExtendCoreTest rule.
ComponentTestDoesNotExtendCoreTestTest.php file core/tests/PHPStan/tests/ComponentTestDoesNotExtendCoreTestTest.php
ComponentTestDoesNotExtendCoreTestTest::getRule function core/tests/PHPStan/tests/ComponentTestDoesNotExtendCoreTestTest.php
ComponentTestDoesNotExtendCoreTestTest::testRule function core/tests/PHPStan/tests/ComponentTestDoesNotExtendCoreTestTest.php
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::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.

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