public function ImageEffectBase::setWeight in Zircon Profile 8
Same name and namespace in other branches
- 8.0 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 120 - Contains \Drupal\image\ImageEffectBase.
Class
- ImageEffectBase
- Provides a base class for image effects.
Namespace
Drupal\imageCode
public function setWeight($weight) {
$this->weight = $weight;
return $this;
}