You are here

public function Paragraph::setAllBehaviorSettings in Paragraphs 8

Sets all the behavior settings of a plugin.

Parameters

array $settings: The behavior settings from the form.

Overrides ParagraphInterface::setAllBehaviorSettings

File

src/Entity/Paragraph.php, line 215

Class

Paragraph
Defines the Paragraph entity.

Namespace

Drupal\paragraphs\Entity

Code

public function setAllBehaviorSettings(array $settings) {

  // Set behavior settings fields.
  $this->unserializedBehaviorSettings = $settings;
}