ImageEffectBase::setWeight

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;
}
doc_Drupal
2016-10-29 09:19:16
Comments
Leave a Comment

Please login to continue.