function ImageEffectBase::setWeight
Same name in other branches
- 8.9.x core/modules/image/src/ImageEffectBase.php \Drupal\image\ImageEffectBase::setWeight()
- 10 core/modules/image/src/ImageEffectBase.php \Drupal\image\ImageEffectBase::setWeight()
- 11.x core/modules/image/src/ImageEffectBase.php \Drupal\image\ImageEffectBase::setWeight()
Overrides ImageEffectInterface::setWeight
File
-
core/
modules/ image/ src/ ImageEffectBase.php, line 115
Class
- ImageEffectBase
- Provides a base class for image effects.
Namespace
Drupal\imageCode
public function setWeight($weight) {
$this->weight = $weight;
return $this;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.