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
- 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 @group layout_builder |
SectionComponentTest.php | file | core/ |
|
SectionComponentTest::testToRenderArray | function | core/ |
@covers ::toRenderArray |
SectionTest::assertComponents | function | core/ |
Asserts that the section has the expected components. |
SectionTest::testAppendComponent | function | core/ |
@covers ::appendComponent @covers ::getNextHighestWeight @covers ::getComponentsByRegion |
SectionTest::testGetComponent | function | core/ |
@covers ::getComponent |
SectionTest::testGetComponentInvalidUuid | function | core/ |
@covers ::getComponent |
SectionTest::testGetComponents | function | core/ |
@covers ::__construct @covers ::setComponent @covers ::getComponents |
SectionTest::testInsertAfterComponent | function | core/ |
@covers ::insertAfterComponent |
SectionTest::testInsertAfterComponentInvalidUuid | function | core/ |
@covers ::insertAfterComponent |
SectionTest::testInsertAfterComponentValidUuidRegionMismatch | function | core/ |
@covers ::insertAfterComponent |
SectionTest::testInsertComponent | function | core/ |
@covers ::insertComponent @covers ::getComponentsByRegion |
SectionTest::testInsertComponentAppend | function | core/ |
@covers ::insertComponent |
SectionTest::testInsertComponentInvalidDelta | function | core/ |
@covers ::insertComponent |
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.