public function CookieCategoryInterface::setWeight in EU Cookie Compliance (GDPR Compliance) 8
Same name and namespace in other branches
- 2.0.x 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\EntityCode
public function setWeight($weight);