Search for component

  1. Search 7.x for component
  2. Search 8.9.x for component
  3. Search 10.3.x for component
  4. Search 11.x for component
  5. Other projects
Title Object type File name Summary
SectionComponent::$configuration property core/modules/layout_builder/src/SectionComponent.php An array of plugin configuration.
SectionComponent::$region property core/modules/layout_builder/src/SectionComponent.php The region the component is placed in.
SectionComponent::$uuid property core/modules/layout_builder/src/SectionComponent.php The UUID of the component.
SectionComponent::$weight property core/modules/layout_builder/src/SectionComponent.php The weight of the component.
SectionComponent::contextHandler function core/modules/layout_builder/src/SectionComponent.php Wraps the context handler.
SectionComponent::eventDispatcher function core/modules/layout_builder/src/SectionComponent.php Wraps the event dispatcher.
SectionComponent::fromArray function core/modules/layout_builder/src/SectionComponent.php Creates an object from an array representation of the section component.
SectionComponent::get function core/modules/layout_builder/src/SectionComponent.php Gets any arbitrary property for the component.
SectionComponent::getConfiguration function core/modules/layout_builder/src/SectionComponent.php Gets the component plugin configuration.
SectionComponent::getPlugin function core/modules/layout_builder/src/SectionComponent.php Gets the plugin for this component.
SectionComponent::getPluginId function core/modules/layout_builder/src/SectionComponent.php Gets the plugin ID.
SectionComponent::getRegion function core/modules/layout_builder/src/SectionComponent.php Gets the region for the component.
SectionComponent::getUuid function core/modules/layout_builder/src/SectionComponent.php Gets the UUID for this component.
SectionComponent::getWeight function core/modules/layout_builder/src/SectionComponent.php Gets the weight of the component.
SectionComponent::pluginManager function core/modules/layout_builder/src/SectionComponent.php Wraps the component plugin manager.
SectionComponent::set function core/modules/layout_builder/src/SectionComponent.php Sets a value to an arbitrary property for the component.
SectionComponent::setConfiguration function core/modules/layout_builder/src/SectionComponent.php Sets the plugin configuration.
SectionComponent::setRegion function core/modules/layout_builder/src/SectionComponent.php Sets the region for the component.
SectionComponent::setWeight function core/modules/layout_builder/src/SectionComponent.php Sets the weight of the component.
SectionComponent::toArray function core/modules/layout_builder/src/SectionComponent.php Returns an array representation of the section component.
SectionComponent::toRenderArray function core/modules/layout_builder/src/SectionComponent.php Returns the renderable array for this component.
SectionComponent::__construct function core/modules/layout_builder/src/SectionComponent.php Constructs a new SectionComponent.
SectionComponentBuildRenderArrayEvent class core/modules/layout_builder/src/Event/SectionComponentBuildRenderArrayEvent.php Event fired when a section component's render array is being built.
SectionComponentBuildRenderArrayEvent.php file core/modules/layout_builder/src/Event/SectionComponentBuildRenderArrayEvent.php
SectionComponentBuildRenderArrayEvent::$build property core/modules/layout_builder/src/Event/SectionComponentBuildRenderArrayEvent.php The render array built by the event subscribers.
SectionComponentBuildRenderArrayEvent::$component property core/modules/layout_builder/src/Event/SectionComponentBuildRenderArrayEvent.php The section component whose render array is being built.
SectionComponentBuildRenderArrayEvent::$contexts property core/modules/layout_builder/src/Event/SectionComponentBuildRenderArrayEvent.php The available contexts.
SectionComponentBuildRenderArrayEvent::$inPreview property core/modules/layout_builder/src/Event/SectionComponentBuildRenderArrayEvent.php Whether the component is in preview mode or not.
SectionComponentBuildRenderArrayEvent::$plugin property core/modules/layout_builder/src/Event/SectionComponentBuildRenderArrayEvent.php The plugin for the section component being built.
SectionComponentBuildRenderArrayEvent::getBuild function core/modules/layout_builder/src/Event/SectionComponentBuildRenderArrayEvent.php Get the render array in its current state.
SectionComponentBuildRenderArrayEvent::getComponent function core/modules/layout_builder/src/Event/SectionComponentBuildRenderArrayEvent.php Get the section component whose render array is being built.
SectionComponentBuildRenderArrayEvent::getContexts function core/modules/layout_builder/src/Event/SectionComponentBuildRenderArrayEvent.php Get the available contexts.
SectionComponentBuildRenderArrayEvent::getPlugin function core/modules/layout_builder/src/Event/SectionComponentBuildRenderArrayEvent.php Get the plugin for the section component being built.
SectionComponentBuildRenderArrayEvent::inPreview function core/modules/layout_builder/src/Event/SectionComponentBuildRenderArrayEvent.php Determine if the component is in preview mode.
SectionComponentBuildRenderArrayEvent::setBuild function core/modules/layout_builder/src/Event/SectionComponentBuildRenderArrayEvent.php Set the render array.
SectionComponentBuildRenderArrayEvent::__construct function core/modules/layout_builder/src/Event/SectionComponentBuildRenderArrayEvent.php Creates a new SectionComponentBuildRenderArrayEvent object.
SectionComponentTest class core/modules/layout_builder/tests/src/Unit/SectionComponentTest.php @coversDefaultClass \Drupal\layout_builder\SectionComponent
@group layout_builder
SectionComponentTest.php file core/modules/layout_builder/tests/src/Unit/SectionComponentTest.php
SectionComponentTest::testToRenderArray function core/modules/layout_builder/tests/src/Unit/SectionComponentTest.php @covers ::toRenderArray
SectionTest::assertComponents function core/modules/layout_builder/tests/src/Unit/SectionTest.php Asserts that the section has the expected components.
SectionTest::testAppendComponent function core/modules/layout_builder/tests/src/Unit/SectionTest.php @covers ::appendComponent
@covers ::getNextHighestWeight
@covers ::getComponentsByRegion
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
SectionTest::testInsertAfterComponent function core/modules/layout_builder/tests/src/Unit/SectionTest.php @covers ::insertAfterComponent
SectionTest::testInsertAfterComponentInvalidUuid function core/modules/layout_builder/tests/src/Unit/SectionTest.php @covers ::insertAfterComponent
SectionTest::testInsertAfterComponentValidUuidRegionMismatch function core/modules/layout_builder/tests/src/Unit/SectionTest.php @covers ::insertAfterComponent
SectionTest::testInsertComponent function core/modules/layout_builder/tests/src/Unit/SectionTest.php @covers ::insertComponent
@covers ::getComponentsByRegion
SectionTest::testInsertComponentAppend function core/modules/layout_builder/tests/src/Unit/SectionTest.php @covers ::insertComponent
SectionTest::testInsertComponentInvalidDelta function core/modules/layout_builder/tests/src/Unit/SectionTest.php @covers ::insertComponent

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