You are here

public function Webform::setCss in Webform 6.x

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

Sets the webform's CSS.

Parameters

string $css: The webform's CSS.

Return value

$this

Overrides WebformInterface::setCss

File

src/Entity/Webform.php, line 940

Class

Webform
Defines the webform entity.

Namespace

Drupal\webform\Entity

Code

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