You are here

public function YamlForm::setCss in YAML Form 8

Sets the form's CSS.

Parameters

string $css: The form's CSS.

Return value

$this

Overrides YamlFormInterface::setCss

File

src/Entity/YamlForm.php, line 414

Class

YamlForm
Defines the form entity.

Namespace

Drupal\yamlform\Entity

Code

public function setCss($css) {
  $this->css = $css;
  return $this;
}