Search for component

  1. Search 7.x for component
  2. Search 9.5.x for component
  3. Search 8.9.x for component
  4. Search 11.x for component
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Component class core/modules/sdc/src/Plugin/Component.php Simple value object that contains information about the component.
Component class core/lib/Drupal/Core/Plugin/Component.php Simple value object that contains information about the component.

All search results

Title Object type File name Summary
ComponentRenderTest::$defaultTheme property core/modules/sdc/tests/src/FunctionalJavascript/ComponentRenderTest.php The theme to install as the default for testing.
ComponentRenderTest::$defaultTheme property core/modules/sdc/tests/src/Functional/ComponentRenderTest.php The theme to install as the default for testing.
ComponentRenderTest::$defaultTheme property core/tests/Drupal/FunctionalTests/Components/ComponentRenderTest.php The theme to install as the default for testing.
ComponentRenderTest::$defaultTheme property core/tests/Drupal/FunctionalJavascriptTests/Components/ComponentRenderTest.php The theme to install as the default for testing.
ComponentRenderTest::$modules property core/tests/Drupal/KernelTests/Components/ComponentRenderTest.php Modules to install.
ComponentRenderTest::$modules property core/tests/Drupal/FunctionalTests/Components/ComponentRenderTest.php Modules to install.
ComponentRenderTest::$modules property core/tests/Drupal/FunctionalJavascriptTests/Components/ComponentRenderTest.php Modules to install.
ComponentRenderTest::$modules property core/modules/sdc/tests/src/FunctionalJavascript/ComponentRenderTest.php Modules to enable.
ComponentRenderTest::$modules property core/modules/sdc/tests/src/Kernel/ComponentRenderTest.php Modules to enable.
ComponentRenderTest::$modules property core/modules/sdc/tests/src/Functional/ComponentRenderTest.php Modules to enable.
ComponentRenderTest::$themes property core/modules/sdc/tests/src/Kernel/ComponentRenderTest.php Themes to install.
ComponentRenderTest::$themes property core/tests/Drupal/KernelTests/Components/ComponentRenderTest.php Themes to install.
ComponentRenderTest::checkArrayObjectTypeCast function core/tests/Drupal/KernelTests/Components/ComponentRenderTest.php Ensure fuzzy coercing of arrays and objects works properly.
ComponentRenderTest::checkArrayObjectTypeCast function core/modules/sdc/tests/src/Kernel/ComponentRenderTest.php Ensure fuzzy coercing of arrays and objects works properly.
ComponentRenderTest::checkAttributeMerging function core/modules/sdc/tests/src/Kernel/ComponentRenderTest.php Ensures the attributes are merged properly.
ComponentRenderTest::checkAttributeMerging function core/tests/Drupal/KernelTests/Components/ComponentRenderTest.php Ensures the attributes are merged properly.
ComponentRenderTest::checkEmbedWithNested function core/tests/Drupal/KernelTests/Components/ComponentRenderTest.php Render a card with slots that include a CTA component.
ComponentRenderTest::checkEmbedWithNested function core/modules/sdc/tests/src/Kernel/ComponentRenderTest.php Render a card with slots that include a CTA component.
ComponentRenderTest::checkEmptyProps function core/modules/sdc/tests/src/Kernel/ComponentRenderTest.php Ensure that components can have 0 props.
ComponentRenderTest::checkEmptyProps function core/tests/Drupal/KernelTests/Components/ComponentRenderTest.php Ensure that components can have 0 props.
ComponentRenderTest::checkIncludeDataMapping function core/tests/Drupal/KernelTests/Components/ComponentRenderTest.php Check using a component with an include and no default context.
ComponentRenderTest::checkIncludeDataMapping function core/modules/sdc/tests/src/Kernel/ComponentRenderTest.php Check using a component with an include and no default context.
ComponentRenderTest::checkIncludeDefaultContent function core/modules/sdc/tests/src/Kernel/ComponentRenderTest.php Check using a component with an include and default context.
ComponentRenderTest::checkIncludeDefaultContent function core/tests/Drupal/KernelTests/Components/ComponentRenderTest.php Check using a component with an include and default context.
ComponentRenderTest::checkInvalidSlot function core/tests/Drupal/KernelTests/Components/ComponentRenderTest.php Ensure that the slots throw an error for invalid slots.
ComponentRenderTest::checkInvalidSlot function core/modules/sdc/tests/src/Kernel/ComponentRenderTest.php Ensure that the slots throw an error for invalid slots.
ComponentRenderTest::checkLibraryOverrides function core/modules/sdc/tests/src/Kernel/ComponentRenderTest.php Check using the libraryOverrides.
ComponentRenderTest::checkLibraryOverrides function core/tests/Drupal/KernelTests/Components/ComponentRenderTest.php Check using the libraryOverrides.
ComponentRenderTest::checkNonExistingComponent function core/tests/Drupal/KernelTests/Components/ComponentRenderTest.php Ensures that including an invalid component creates an error.
ComponentRenderTest::checkNonExistingComponent function core/modules/sdc/tests/src/Kernel/ComponentRenderTest.php Ensures that including an invalid component creates an error.
ComponentRenderTest::checkPropValidation function core/modules/sdc/tests/src/Kernel/ComponentRenderTest.php Ensures the schema violations are reported properly.
ComponentRenderTest::checkPropValidation function core/tests/Drupal/KernelTests/Components/ComponentRenderTest.php Ensures the schema violations are reported properly.
ComponentRenderTest::checkRenderElementAlters function core/tests/Drupal/KernelTests/Components/ComponentRenderTest.php Ensures the alter callbacks work properly.
ComponentRenderTest::checkRenderElementAlters function core/modules/sdc/tests/src/Kernel/ComponentRenderTest.php Ensures the alter callbacks work properly.
ComponentRenderTest::checkSlots function core/modules/sdc/tests/src/Kernel/ComponentRenderTest.php Ensure that the slots allow a render array or a scalar when using the render element.
ComponentRenderTest::checkSlots 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::testCssLibraryAttachesCorrectly function core/tests/Drupal/FunctionalJavascriptTests/Components/ComponentRenderTest.php Tests that the correct libraries are put on the page using CSS.
ComponentRenderTest::testCssLibraryAttachesCorrectly function core/modules/sdc/tests/src/FunctionalJavascript/ComponentRenderTest.php Tests that the correct libraries are put on the page using CSS.
ComponentRenderTest::testJsLibraryAttachesCorrectly function core/modules/sdc/tests/src/FunctionalJavascript/ComponentRenderTest.php Tests that the correct libraries are put on the page using JS.
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::testLibraryOverrides function core/modules/sdc/tests/src/Functional/ComponentRenderTest.php Tests libraryOverrides.
ComponentRenderTest::testPluginDefinition function core/modules/sdc/tests/src/Kernel/ComponentRenderTest.php Ensures some key aspects of the plugin definition are correctly computed.
ComponentRenderTest::testPluginDefinition function core/tests/Drupal/KernelTests/Components/ComponentRenderTest.php Ensures some key aspects of the plugin definition are correctly computed.
ComponentRenderTest::testRender function core/tests/Drupal/KernelTests/Components/ComponentRenderTest.php Test that components render correctly.
ComponentRenderTest::testRender function core/modules/sdc/tests/src/Kernel/ComponentRenderTest.php Test that components render correctly.
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.

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