You are here

public function AdministrationLanguageNegotiationConditionBase::setWeight in Administration Language Negotiation 8

Set the weight of the plugin.

Parameters

int $weight: The plugin's weight.

Return value

$this Returns itself.

Overrides AdministrationLanguageNegotiationConditionInterface::setWeight

File

src/AdministrationLanguageNegotiationConditionBase.php, line 79

Class

AdministrationLanguageNegotiationConditionBase
Base class for administration language administration condition.

Namespace

Drupal\administration_language_negotiation

Code

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