You are here

public function CookieCategoryInterface::setWeight in EU Cookie Compliance (GDPR Compliance) 2.0.x

Same name and namespace in other branches
  1. 8 src/Entity/CookieCategoryInterface.php \Drupal\eu_cookie_compliance\Entity\CookieCategoryInterface::setWeight()

Sets the weight of this category.

Parameters

int $weight: The weight to set.

Return value

\Drupal\eu_cookie_compliance\Entity\CookieCategoryInterface The called class instance.

1 method overrides CookieCategoryInterface::setWeight()
CookieCategory::setWeight in src/Entity/CookieCategory.php
Sets the weight of this category.

File

src/Entity/CookieCategoryInterface.php, line 29

Class

CookieCategoryInterface
Provides an interface for defining Cookie category entities.

Namespace

Drupal\eu_cookie_compliance\Entity

Code

public function setWeight($weight);