You are here

public function WebformElementAssetInterface::getJavaScript in Webform 6.x

Same name and namespace in other branches
  1. 8.5 src/Plugin/WebformElementAssetInterface.php \Drupal\webform\Plugin\WebformElementAssetInterface::getJavaScript()

Returns the webform element's JavaScript.

Return value

string The webform element's CSS.

1 method overrides WebformElementAssetInterface::getJavaScript()
WebformOptionsCustom::getJavaScript in modules/webform_options_custom/src/Plugin/WebformElement/WebformOptionsCustom.php
Returns the webform element's JavaScript.

File

src/Plugin/WebformElementAssetInterface.php, line 43

Class

WebformElementAssetInterface
Defines the interface for webform elements with CSS and JavaScript assets.

Namespace

Drupal\webform\Plugin

Code

public function getJavaScript();