Gets all the behavior settings.
array The array of behavior settings.
Overrides ParagraphInterface::getAllBehaviorSettings
public function getAllBehaviorSettings() {
if ($this->unserializedBehaviorSettings === NULL) {
$this->unserializedBehaviorSettings = unserialize($this
->get('behavior_settings')->value ?? '');
}
if (!is_array($this->unserializedBehaviorSettings)) {
$this->unserializedBehaviorSettings = [];
}
return $this->unserializedBehaviorSettings;
}