public function ImageEffectBase::setWeight in Drupal 8
Same name and namespace in other branches
- 9 core/modules/image/src/ImageEffectBase.php \Drupal\image\ImageEffectBase::setWeight()
Sets the weight for this image effect.
Parameters
int $weight: The weight for this image effect.
Return value
$this
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;
}