Search for getComponent

  1. Search 7.x for getComponent
  2. Search 9.5.x for getComponent
  3. Search 8.9.x for getComponent
  4. Search 10.3.x for getComponent
  5. Other projects
Title Object type File name Summary
ComponentGenerator::getComponentPathsFinder function composer/Generator/ComponentGenerator.php Find all the composer.json files for components.
ComponentNodeVisitor::getComponent function core/lib/Drupal/Core/Template/ComponentNodeVisitor.php Finds the SDC for the current module node.
ComponentNodeVisitor::getComponent function core/modules/sdc/src/Twig/ComponentNodeVisitor.php Finds the SDC for the current module node.
ComposerBuildTestBase::getComponentPathsFinder function core/tests/Drupal/BuildTests/Composer/ComposerBuildTestBase.php Find all the composer.json files for components.
DrupalComponentTest::getComponents function core/tests/Drupal/Tests/Component/DrupalComponentTest.php Data provider.
EntityDisplayBase::getComponent function core/lib/Drupal/Core/Entity/EntityDisplayBase.php Gets the display options set for a component.
EntityDisplayBase::getComponents function core/lib/Drupal/Core/Entity/EntityDisplayBase.php Gets the display options for all components.
EntityDisplayInterface::getComponent function core/lib/Drupal/Core/Entity/Display/EntityDisplayInterface.php Gets the display options set for a component.
EntityDisplayInterface::getComponents function core/lib/Drupal/Core/Entity/Display/EntityDisplayInterface.php Gets the display options for all components.
InstallStorage::getComponentFolder function core/lib/Drupal/Core/Config/InstallStorage.php Get folder inside each component that contains the files.
InstallStorage::getComponentNames function core/lib/Drupal/Core/Config/InstallStorage.php Get all configuration names and folders for a list of modules or themes.
LayoutBuilderEntityViewDisplay::getComponent function core/modules/layout_builder/src/Entity/LayoutBuilderEntityViewDisplay.php
LocaleConfigManager::getComponentNames function core/modules/locale/src/LocaleConfigManager.php Gets configuration names associated with components.
LocaleDefaultConfigStorage::getComponentNames function core/modules/locale/src/LocaleDefaultConfigStorage.php Get all configuration names and folders for a list of modules or themes.
LocaleDefaultConfigStorageTest::testGetComponentNames function core/modules/locale/tests/src/Kernel/LocaleDefaultConfigStorageTest.php
MoveBlockForm::getComponentsWrapper function core/modules/layout_builder/src/Form/MoveBlockForm.php Ajax callback for the region select element.
Section::getComponent function core/modules/layout_builder/src/Section.php Gets the component for a given UUID.
Section::getComponents function core/modules/layout_builder/src/Section.php Returns the components of the section.
Section::getComponentsByRegion function core/modules/layout_builder/src/Section.php Gets the components for a specific region.
SectionComponentBuildRenderArrayEvent::getComponent function core/modules/layout_builder/src/Event/SectionComponentBuildRenderArrayEvent.php Get the section component whose render array is being built.
SectionTest::testGetComponent function core/modules/layout_builder/tests/src/Unit/SectionTest.php @covers ::getComponent
SectionTest::testGetComponentInvalidUuid function core/modules/layout_builder/tests/src/Unit/SectionTest.php @covers ::getComponent
SectionTest::testGetComponents function core/modules/layout_builder/tests/src/Unit/SectionTest.php @covers ::__construct
@covers ::setComponent
@covers ::getComponents

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