You are here

public function PathautoPatternInterface::setWeight in Pathauto 8

Sets the weight of this pattern (compared to other patterns of this type).

Parameters

int $weight: The weight of the variant.

Return value

$this

1 method overrides PathautoPatternInterface::setWeight()
PathautoPattern::setWeight in src/Entity/PathautoPattern.php
Sets the weight of this pattern (compared to other patterns of this type).

File

src/PathautoPatternInterface.php, line 55

Class

PathautoPatternInterface
Provides an interface for defining Pathauto pattern entities.

Namespace

Drupal\pathauto

Code

public function setWeight($weight);