You are here

public function PageVariantInterface::setWeight in Page Manager 8.4

Same name and namespace in other branches
  1. 8 src/PageVariantInterface.php \Drupal\page_manager\PageVariantInterface::setWeight()

Sets the weight of this variant (compared to other variants on the page).

Parameters

int $weight: The weight of the variant.

Return value

$this

1 method overrides PageVariantInterface::setWeight()
PageVariant::setWeight in src/Entity/PageVariant.php
Sets the weight of this variant (compared to other variants on the page).

File

src/PageVariantInterface.php, line 90

Class

PageVariantInterface
Provides an interface defining a PageVariant entity.

Namespace

Drupal\page_manager

Code

public function setWeight($weight);