You are here

public function ImageEffectBase::setWeight in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/image/src/ImageEffectBase.php \Drupal\image\ImageEffectBase::setWeight()
  2. 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\image

Code

public function setWeight($weight) {
  $this->weight = $weight;
  return $this;
}