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 10.3.x for all
  5. Other projects
Title Object type File name Summary
ComponentPluginManager::getAllComponents function core/lib/Drupal/Core/Theme/ComponentPluginManager.php Gets all components.
ComponentPluginManager::getDiscovery function core/lib/Drupal/Core/Theme/ComponentPluginManager.php Gets the plugin discovery.
ComponentPluginManager::getScanDirectories function core/lib/Drupal/Core/Theme/ComponentPluginManager.php Get the list of directories to scan.
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::processDefinition function core/lib/Drupal/Core/Theme/ComponentPluginManager.php Performs extra processing on plugin definitions.
ComponentPluginManager::processDefinitionCategory function core/lib/Drupal/Core/Theme/ComponentPluginManager.php Processes a plugin definition to ensure there is a category.
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.
ComponentPluginManagerCachedDiscoveryTest class core/tests/Drupal/KernelTests/Components/ComponentPluginManagerCachedDiscoveryTest.php Tests discovery of components in a theme being installed or uninstalled.
ComponentPluginManagerCachedDiscoveryTest.php file core/tests/Drupal/KernelTests/Components/ComponentPluginManagerCachedDiscoveryTest.php
ComponentPluginManagerCachedDiscoveryTest::$themes property core/tests/Drupal/KernelTests/Components/ComponentPluginManagerCachedDiscoveryTest.php Themes to install.
ComponentPluginManagerCachedDiscoveryTest::testComponentDiscoveryOnThemeInstall function core/tests/Drupal/KernelTests/Components/ComponentPluginManagerCachedDiscoveryTest.php Tests cached component plugin discovery on theme install and uninstall.
ComponentPluginManagerTest class core/tests/Drupal/KernelTests/Components/ComponentPluginManagerTest.php Tests the component plugin manager.
ComponentPluginManagerTest.php file core/tests/Drupal/KernelTests/Components/ComponentPluginManagerTest.php
ComponentPluginManagerTest::$modules property core/tests/Drupal/KernelTests/Components/ComponentPluginManagerTest.php Modules to install.
ComponentPluginManagerTest::$themes property core/tests/Drupal/KernelTests/Components/ComponentPluginManagerTest.php Themes to install.
ComponentPluginManagerTest::testFindEmptyMetadataFile function core/tests/Drupal/KernelTests/Components/ComponentPluginManagerTest.php Test that components render correctly.
ComponentPluginManagerTest::testMismatchingFolderName function core/tests/Drupal/KernelTests/Components/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/KernelTests/Component/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/KernelTests/Component/ComponentRenderTest.php
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/KernelTests/Component/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/tests/Drupal/KernelTests/Components/ComponentRenderTest.php Modules to install.
ComponentRenderTest::$themes property core/tests/Drupal/KernelTests/Components/ComponentRenderTest.php Themes to install.
ComponentRenderTest::testCheckElementAttributesAndPropAttributesMerging function core/tests/Drupal/KernelTests/Components/ComponentRenderTest.php Ensures the element and prop attributes are merged properly.
ComponentRenderTest::testCssLibraryAttachesCorrectly function core/tests/Drupal/FunctionalJavascriptTests/Components/ComponentRenderTest.php Tests that the correct libraries are put on the page using CSS.
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.

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