public function YamlFormInterface::setJavaScript in YAML Form 8
Sets the form's JavaScript.
Parameters
string $javascript: The form's JavaScript.
Return value
$this
1 method overrides YamlFormInterface::setJavaScript()
- YamlForm::setJavaScript in src/
Entity/ YamlForm.php - Sets the form's JavaScript.
File
- src/
YamlFormInterface.php, line 139
Class
- YamlFormInterface
- Provides an interface defining a form entity.
Namespace
Drupal\yamlformCode
public function setJavaScript($javascript);