You are here

public function LanguageCookieConditionBase::setWeight in Language Cookie 8

Set the weight of the plugin.

Parameters

int $weight: The plugin's weight.

Return value

$this Returns itself.

Overrides LanguageCookieConditionInterface::setWeight

File

src/LanguageCookieConditionBase.php, line 86

Class

LanguageCookieConditionBase
Base class for language cookie condition.

Namespace

Drupal\language_cookie

Code

public function setWeight($weight) {
  $this->weight = $weight;
  return $this;
}