public function FormBodyUnescapedMarkup::__construct in FormAssembly 8
Constructs an FormBodyUnescapedMarkup object.
Parameters
string $string: The string to escape. This value will be cast to a string.
File
- src/
Component/ Render/ FormBodyUnescapedMarkup.php, line 37
Class
- FormBodyUnescapedMarkup
- Returns an unmodified string.
Namespace
Drupal\formassembly\Component\RenderCode
public function __construct($string) {
$this->string = (string) $string;
}