public function ImageEffectBase::setWeight in Drupal 10
Same name and namespace in other branches
- 8 core/modules/image/src/ImageEffectBase.php \Drupal\image\ImageEffectBase::setWeight()
- 9 core/modules/image/src/ImageEffectBase.php \Drupal\image\ImageEffectBase::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;
}