You are here

protected function D7Webform::encapsulateString in Webform: Migrate 8

Same name and namespace in other branches
  1. 8.2 src/Plugin/migrate/source/d7/D7Webform.php \Drupal\webform_migrate\Plugin\migrate\source\d7\D7Webform::encapsulateString()
1 call to D7Webform::encapsulateString()
D7Webform::buildItemsString in src/Plugin/migrate/source/d7/D7Webform.php

File

src/Plugin/migrate/source/d7/D7Webform.php, line 984

Class

D7Webform
Drupal 7 webform source from database.

Namespace

Drupal\webform_migrate\Plugin\migrate\source\d7

Code

protected function encapsulateString($string) {
  return sprintf("'%s'", addslashes($string));
}