Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 8.9.x for all
  4. Search 11.x for all
  5. Search main for all
  6. Other projects
Title Object type File name Summary
ComponentPluginManager::isValidDefinition function core/lib/Drupal/Core/Theme/ComponentPluginManager.php Validates the metadata info.
ComponentPluginManager::libraryFromDefinition function core/lib/Drupal/Core/Theme/ComponentPluginManager.php Creates the library declaration array from a component definition.
ComponentPluginManager::makePathRelativeToLibraryRoot function core/lib/Drupal/Core/Theme/ComponentPluginManager.php Takes a path and makes it relative to the library provider.
ComponentPluginManager::providerExists function core/lib/Drupal/Core/Theme/ComponentPluginManager.php Determines if the provider of a definition exists.
ComponentPluginManager::shouldEnforceSchemas function core/lib/Drupal/Core/Theme/ComponentPluginManager.php Assess whether schemas are mandatory for props.
ComponentPluginManager::translateLibraryPaths function core/lib/Drupal/Core/Theme/ComponentPluginManager.php Changes the library paths, so they can be used by the library system.
ComponentPluginManager::__construct function core/lib/Drupal/Core/Theme/ComponentPluginManager.php Constructs ComponentPluginManager object.
ComponentPluginManagerTest class core/tests/Drupal/Tests/Core/Theme/Component/ComponentPluginManagerTest.php Tests the component plugin manager.
ComponentPluginManagerTest.php file core/tests/Drupal/Tests/Core/Theme/Component/ComponentPluginManagerTest.php
ComponentPluginManagerTest::$modules property core/tests/Drupal/Tests/Core/Theme/Component/ComponentPluginManagerTest.php Modules to install.
ComponentPluginManagerTest::$themes property core/tests/Drupal/Tests/Core/Theme/Component/ComponentPluginManagerTest.php Themes to install.
ComponentPluginManagerTest::testFindEmptyMetadataFile function core/tests/Drupal/Tests/Core/Theme/Component/ComponentPluginManagerTest.php Test that components render correctly.
ComponentPluginManagerTest::testMismatchingFolderName function core/tests/Drupal/Tests/Core/Theme/Component/ComponentPluginManagerTest.php Test that the machine name is grabbed from the *.component.yml.
ComponentRenderInvalidTest class core/tests/Drupal/KernelTests/Components/ComponentRenderInvalidTest.php Tests invalid render options for components.
ComponentRenderInvalidTest.php file core/tests/Drupal/KernelTests/Components/ComponentRenderInvalidTest.php
ComponentRenderInvalidTest::$modules property core/tests/Drupal/KernelTests/Components/ComponentRenderInvalidTest.php Modules to install.
ComponentRenderInvalidTest::$themes property core/tests/Drupal/KernelTests/Components/ComponentRenderInvalidTest.php Themes to install.
ComponentRenderInvalidTest::testInvalidDefinitionModule function core/tests/Drupal/KernelTests/Components/ComponentRenderInvalidTest.php Ensure that components in modules without schema fail validation.
ComponentRenderInvalidTest::testInvalidDefinitionTheme function core/tests/Drupal/KernelTests/Components/ComponentRenderInvalidTest.php Ensure that components in modules without schema fail validation.
ComponentRenderTest class core/tests/Drupal/KernelTests/Components/ComponentRenderTest.php Tests the correct rendering of components.
ComponentRenderTest class core/tests/Drupal/FunctionalJavascriptTests/Components/ComponentRenderTest.php Tests the correct rendering of components.
ComponentRenderTest class core/tests/Drupal/FunctionalTests/Components/ComponentRenderTest.php Tests the correct rendering of components.
ComponentRenderTest.php file core/tests/Drupal/FunctionalTests/Components/ComponentRenderTest.php
ComponentRenderTest.php file core/tests/Drupal/FunctionalJavascriptTests/Components/ComponentRenderTest.php
ComponentRenderTest.php file core/tests/Drupal/KernelTests/Components/ComponentRenderTest.php
ComponentRenderTest::$defaultTheme property core/tests/Drupal/FunctionalJavascriptTests/Components/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::$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/tests/Drupal/KernelTests/Components/ComponentRenderTest.php Modules 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::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::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::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::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::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::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::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::testRender function core/tests/Drupal/KernelTests/Components/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

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