You are here

public function ViewmodepagePatternInterface::setWeight in View Mode Page 8.3

Same name and namespace in other branches
  1. 4.0.x src/ViewmodepagePatternInterface.php \Drupal\view_mode_page\ViewmodepagePatternInterface::setWeight()
  2. 3.2.x src/ViewmodepagePatternInterface.php \Drupal\view_mode_page\ViewmodepagePatternInterface::setWeight()

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 ViewmodepagePatternInterface::setWeight()
ViewmodepagePattern::setWeight in src/Entity/ViewmodepagePattern.php
Sets the weight of this pattern (compared to other patterns of this type).

File

src/ViewmodepagePatternInterface.php, line 88

Class

ViewmodepagePatternInterface
Provides an interface for defining Viewmodepage pattern entities.

Namespace

Drupal\view_mode_page

Code

public function setWeight($weight);