You are here

public function LayoutParagraphsLayout::setParagraphsReferenceField in Layout Paragraphs 2.0.x

Set the field item list.

Parameters

\Drupal\Core\Field\EntityReferenceFieldItemListInterface $paragraphs_reference_field: The field item list to set.

Return value

$this

File

src/LayoutParagraphsLayout.php, line 160

Class

LayoutParagraphsLayout
Provides a domain object for a complete Layout Paragraphs Layout.

Namespace

Drupal\layout_paragraphs

Code

public function setParagraphsReferenceField(EntityReferenceFieldItemListInterface $paragraphs_reference_field) {
  $this->paragraphsReferenceField = $paragraphs_reference_field;
  return $this;
}