You are here

public function ImageEffectInterface::setWeight in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/image/src/ImageEffectInterface.php \Drupal\image\ImageEffectInterface::setWeight()
  2. 9 core/modules/image/src/ImageEffectInterface.php \Drupal\image\ImageEffectInterface::setWeight()

Sets the weight for this image effect.

Parameters

int $weight: The weight for this image effect.

Return value

$this

File

core/modules/image/src/ImageEffectInterface.php, line 104

Class

ImageEffectInterface
Defines the interface for image effects.

Namespace

Drupal\image

Code

public function setWeight($weight);