Search for setComponent

  1. Search 7.x for setComponent
  2. Search 9.5.x for setComponent
  3. Search 8.9.x for setComponent
  4. Search 11.x for setComponent
  5. Other projects
Title Object type File name Summary
EntityDisplayBase::setComponent function core/lib/Drupal/Core/Entity/EntityDisplayBase.php Sets the display options for a component.
EntityDisplayInterface::setComponent function core/lib/Drupal/Core/Entity/Display/EntityDisplayInterface.php Sets the display options for a component.
LayoutBuilderEntityViewDisplay::setComponent function core/modules/layout_builder/src/Entity/LayoutBuilderEntityViewDisplay.php Sets the display options for a component.
Section::setComponent function core/modules/layout_builder/src/Section.php Helper method to set a component.

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