You are here

public function WebformInterface::setJavaScript in Webform 8.5

Same name and namespace in other branches
  1. 6.x src/WebformInterface.php \Drupal\webform\WebformInterface::setJavaScript()

Sets the webform's JavaScript.

Parameters

string $javascript: The webform's JavaScript.

Return value

$this

1 method overrides WebformInterface::setJavaScript()
Webform::setJavaScript in src/Entity/Webform.php
Sets the webform's JavaScript.

File

src/WebformInterface.php, line 528

Class

WebformInterface
Provides an interface defining a webform entity.

Namespace

Drupal\webform

Code

public function setJavaScript($javascript);