You are here

public function LayoutParagraphsSection::getComponents in Layout Paragraphs 2.0.x

Returns a list of all components for this collection.

Return value

array An array of layout paragraph components.

2 calls to LayoutParagraphsSection::getComponents()
LayoutParagraphsSection::getComponentByUuid in src/LayoutParagraphsSection.php
Returns the child component with matching uuid.
LayoutParagraphsSection::getComponentsForRegion in src/LayoutParagraphsSection.php
Get the components for a single region.

File

src/LayoutParagraphsSection.php, line 97

Class

LayoutParagraphsSection
Provides a domain object for a Layout Paragraphs Section.

Namespace

Drupal\layout_paragraphs

Code

public function getComponents() {
  return $this->components;
}