Search for component
- Search 7.x for component
- Search 8.9.x for component
- Search 10.3.x for component
- Search 11.x for component
- Search main for component
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| SectionComponent::$configuration | property | core/ |
An array of plugin configuration. |
| SectionComponent::$region | property | core/ |
The region the component is placed in. |
| SectionComponent::$uuid | property | core/ |
The UUID of the component. |
| SectionComponent::$weight | property | core/ |
The weight of the component. |
| SectionComponent::contextHandler | function | core/ |
Wraps the context handler. |
| SectionComponent::eventDispatcher | function | core/ |
Wraps the event dispatcher. |
| SectionComponent::fromArray | function | core/ |
Creates an object from an array representation of the section component. |
| SectionComponent::get | function | core/ |
Gets any arbitrary property for the component. |
| SectionComponent::getConfiguration | function | core/ |
Gets the component plugin configuration. |
| SectionComponent::getPlugin | function | core/ |
Gets the plugin for this component. |
| SectionComponent::getPluginId | function | core/ |
Gets the plugin ID. |
| SectionComponent::getRegion | function | core/ |
Gets the region for the component. |
| SectionComponent::getUuid | function | core/ |
Gets the UUID for this component. |
| SectionComponent::getWeight | function | core/ |
Gets the weight of the component. |
| SectionComponent::pluginManager | function | core/ |
Wraps the component plugin manager. |
| SectionComponent::set | function | core/ |
Sets a value to an arbitrary property for the component. |
| SectionComponent::setConfiguration | function | core/ |
Sets the plugin configuration. |
| SectionComponent::setRegion | function | core/ |
Sets the region for the component. |
| SectionComponent::setWeight | function | core/ |
Sets the weight of the component. |
| SectionComponent::toArray | function | core/ |
Returns an array representation of the section component. |
| SectionComponent::toRenderArray | function | core/ |
Returns the renderable array for this component. |
| SectionComponent::__construct | function | core/ |
Constructs a new SectionComponent. |
| SectionComponentBuildRenderArrayEvent | class | core/ |
Event fired when a section component's render array is being built. |
| SectionComponentBuildRenderArrayEvent.php | file | core/ |
|
| SectionComponentBuildRenderArrayEvent::$build | property | core/ |
The render array built by the event subscribers. |
| SectionComponentBuildRenderArrayEvent::$component | property | core/ |
The section component whose render array is being built. |
| SectionComponentBuildRenderArrayEvent::$contexts | property | core/ |
The available contexts. |
| SectionComponentBuildRenderArrayEvent::$inPreview | property | core/ |
Whether the component is in preview mode or not. |
| SectionComponentBuildRenderArrayEvent::$plugin | property | core/ |
The plugin for the section component being built. |
| SectionComponentBuildRenderArrayEvent::getBuild | function | core/ |
Get the render array in its current state. |
| SectionComponentBuildRenderArrayEvent::getComponent | function | core/ |
Get the section component whose render array is being built. |
| SectionComponentBuildRenderArrayEvent::getContexts | function | core/ |
Get the available contexts. |
| SectionComponentBuildRenderArrayEvent::getPlugin | function | core/ |
Get the plugin for the section component being built. |
| SectionComponentBuildRenderArrayEvent::inPreview | function | core/ |
Determine if the component is in preview mode. |
| SectionComponentBuildRenderArrayEvent::setBuild | function | core/ |
Set the render array. |
| SectionComponentBuildRenderArrayEvent::__construct | function | core/ |
Creates a new SectionComponentBuildRenderArrayEvent object. |
| SectionComponentTest | class | core/ |
@coversDefaultClass \Drupal\layout_builder\SectionComponent[[api-linebreak]] @group layout_builder |
| SectionComponentTest.php | file | core/ |
|
| SectionComponentTest::testToRenderArray | function | core/ |
@covers ::toRenderArray[[api-linebreak]] |
| SectionTest::assertComponents | function | core/ |
Asserts that the section has the expected components. |
| SectionTest::testAppendComponent | function | core/ |
@covers ::appendComponent[[api-linebreak]] @covers ::getNextHighestWeight[[api-linebreak]] @covers ::getComponentsByRegion[[api-linebreak]] |
| SectionTest::testGetComponent | function | core/ |
@covers ::getComponent[[api-linebreak]] |
| SectionTest::testGetComponentInvalidUuid | function | core/ |
@covers ::getComponent[[api-linebreak]] |
| SectionTest::testGetComponents | function | core/ |
@covers ::__construct[[api-linebreak]] @covers ::setComponent[[api-linebreak]] @covers ::getComponents[[api-linebreak]] |
| SectionTest::testInsertAfterComponent | function | core/ |
@covers ::insertAfterComponent[[api-linebreak]] |
| SectionTest::testInsertAfterComponentInvalidUuid | function | core/ |
@covers ::insertAfterComponent[[api-linebreak]] |
| SectionTest::testInsertAfterComponentValidUuidRegionMismatch | function | core/ |
@covers ::insertAfterComponent[[api-linebreak]] |
| SectionTest::testInsertComponent | function | core/ |
@covers ::insertComponent[[api-linebreak]] @covers ::getComponentsByRegion[[api-linebreak]] |
| SectionTest::testInsertComponentAppend | function | core/ |
@covers ::insertComponent[[api-linebreak]] |
| SectionTest::testInsertComponentInvalidDelta | function | core/ |
@covers ::insertComponent[[api-linebreak]] |
Pagination
- Previous page
- Page 4
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.