public ImageEffectBase::setWeight($weight)
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\image
Code
public function setWeight($weight) { $this->weight = $weight; return $this; }
Please login to continue.