You are here

public function Webform::getJavaScript in Webform 8.5

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

Returns the webform's JavaScript.

Return value

string The webform's CSS.

Overrides WebformInterface::getJavaScript

File

src/Entity/Webform.php, line 947

Class

Webform
Defines the webform entity.

Namespace

Drupal\webform\Entity

Code

public function getJavaScript() {
  return $this->javascript;
}