Search for all

  1. Search 7.x for all
  2. Search 8.9.x for all
  3. Search 10.3.x for all
  4. Search 11.x for all
  5. Search main for all
  6. Other projects
Title Object type File name Summary
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[[api-linebreak]]
@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[[api-linebreak]]
SectionData class core/modules/layout_builder/src/Plugin/DataType/SectionData.php Provides a data type wrapping \Drupal\layout_builder\Section.
SectionData.php file core/modules/layout_builder/src/Plugin/DataType/SectionData.php
SectionData::$value property core/modules/layout_builder/src/Plugin/DataType/SectionData.php The section object.
SectionData::setValue function core/modules/layout_builder/src/Plugin/DataType/SectionData.php Sets the data value.
SectionListInterface interface core/modules/layout_builder/src/SectionListInterface.php Defines the interface for an object that stores layout sections.
SectionListInterface.php file core/modules/layout_builder/src/SectionListInterface.php
SectionListInterface::appendSection function core/modules/layout_builder/src/SectionListInterface.php Appends a new section to the end of the list.
SectionListInterface::getSection function core/modules/layout_builder/src/SectionListInterface.php Gets a domain object for the layout section.
SectionListInterface::getSections function core/modules/layout_builder/src/SectionListInterface.php Gets the layout sections.
SectionListInterface::insertSection function core/modules/layout_builder/src/SectionListInterface.php Inserts a new section at a given delta.
SectionListInterface::removeAllSections function core/modules/layout_builder/src/SectionListInterface.php Removes all of the sections.
SectionListInterface::removeSection function core/modules/layout_builder/src/SectionListInterface.php Removes the section at the given delta.
SectionListTestBase class core/modules/layout_builder/tests/src/Kernel/SectionListTestBase.php Provides a base class for testing implementations of a section list.
SectionListTestBase.php file core/modules/layout_builder/tests/src/Kernel/SectionListTestBase.php
SectionListTestBase::$modules property core/modules/layout_builder/tests/src/Kernel/SectionListTestBase.php Modules to enable.
SectionListTestBase::$sectionList property core/modules/layout_builder/tests/src/Kernel/SectionListTestBase.php The section list implementation.
SectionListTestBase::assertSections function core/modules/layout_builder/tests/src/Kernel/SectionListTestBase.php Asserts that the field list has the expected sections.
SectionListTestBase::getSectionList function core/modules/layout_builder/tests/src/Kernel/SectionListTestBase.php Sets up the section list.
SectionListTestBase::providerTestRemoveAllSections function core/modules/layout_builder/tests/src/Kernel/SectionListTestBase.php Provides test data for ::testRemoveAllSections().
SectionListTestBase::setUp function core/modules/layout_builder/tests/src/Kernel/SectionListTestBase.php
SectionListTestBase::testAppendSection function core/modules/layout_builder/tests/src/Kernel/SectionListTestBase.php @covers ::appendSection[[api-linebreak]]
SectionListTestBase::testClone function core/modules/layout_builder/tests/src/Kernel/SectionListTestBase.php Tests __clone().
SectionListTestBase::testGetSection function core/modules/layout_builder/tests/src/Kernel/SectionListTestBase.php @covers ::getSection[[api-linebreak]]
SectionListTestBase::testGetSectionInvalidDelta function core/modules/layout_builder/tests/src/Kernel/SectionListTestBase.php @covers ::getSection[[api-linebreak]]
SectionListTestBase::testGetSections function core/modules/layout_builder/tests/src/Kernel/SectionListTestBase.php Tests ::getSections().
SectionListTestBase::testInsertSection function core/modules/layout_builder/tests/src/Kernel/SectionListTestBase.php @covers ::insertSection[[api-linebreak]]
SectionListTestBase::testRemoveAllSections function core/modules/layout_builder/tests/src/Kernel/SectionListTestBase.php @covers ::removeAllSections[[api-linebreak]]
SectionListTestBase::testRemoveMultipleSections function core/modules/layout_builder/tests/src/Kernel/SectionListTestBase.php @covers ::removeSection[[api-linebreak]]
SectionListTestBase::testRemoveSection function core/modules/layout_builder/tests/src/Kernel/SectionListTestBase.php @covers ::removeSection[[api-linebreak]]
SectionListTrait trait core/modules/layout_builder/src/SectionListTrait.php Provides a trait for maintaining a list of sections.
SectionListTrait.php file core/modules/layout_builder/src/SectionListTrait.php
SectionListTrait::addBlankSection function core/modules/layout_builder/src/SectionListTrait.php Adds a blank section to the list.

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