function ImageEffectInterface::getWeight

Same name in other branches
  1. 8.9.x core/modules/image/src/ImageEffectInterface.php \Drupal\image\ImageEffectInterface::getWeight()
  2. 10 core/modules/image/src/ImageEffectInterface.php \Drupal\image\ImageEffectInterface::getWeight()
  3. 11.x core/modules/image/src/ImageEffectInterface.php \Drupal\image\ImageEffectInterface::getWeight()

Returns the weight of the image effect.

Return value

int|string Either the integer weight of the image effect, or an empty string.

1 method overrides ImageEffectInterface::getWeight()
ImageEffectBase::getWeight in core/modules/image/src/ImageEffectBase.php
Returns the weight of the image effect.

File

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

Class

ImageEffectInterface
Defines the interface for image effects.

Namespace

Drupal\image

Code

public function getWeight();

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