You are here

public function Webform::setCss in Webform 8.5

Same name and namespace in other branches
  1. 6.x 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 939

Class

Webform
Defines the webform entity.

Namespace

Drupal\webform\Entity

Code

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