Search for removeComponent

  1. Search 7.x for removeComponent
  2. Search 9.5.x for removeComponent
  3. Search 8.9.x for removeComponent
  4. Search 10.3.x for removeComponent
  5. Other projects
Title Object type File name Summary
EntityDisplayBase::removeComponent function core/lib/Drupal/Core/Entity/EntityDisplayBase.php Sets a component to be hidden.
EntityDisplayInterface::removeComponent function core/lib/Drupal/Core/Entity/Display/EntityDisplayInterface.php Sets a component to be hidden.
EntityMethodConfigActionsTest::testRemoveComponentFromDisplay function core/tests/Drupal/KernelTests/Core/Recipe/EntityMethodConfigActionsTest.php @testWith ["hideComponent"]
["hideComponents"]
Section::removeComponent function core/modules/layout_builder/src/Section.php Removes a given component from a region.
SectionTest::testRemoveComponent function core/modules/layout_builder/tests/src/Unit/SectionTest.php @covers ::removeComponent
@covers ::getComponentsByRegion

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