function ImageEffectInterface::setWeight

Same name in other branches
  1. 9 core/modules/image/src/ImageEffectInterface.php \Drupal\image\ImageEffectInterface::setWeight()
  2. 8.9.x core/modules/image/src/ImageEffectInterface.php \Drupal\image\ImageEffectInterface::setWeight()
  3. 11.x 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

1 method overrides ImageEffectInterface::setWeight()
ImageEffectBase::setWeight in core/modules/image/src/ImageEffectBase.php
Sets the weight for this image effect.

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);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.