function ImageEffectInterface::getWeight
Same name in other branches
- 9 core/modules/image/src/ImageEffectInterface.php \Drupal\image\ImageEffectInterface::getWeight()
- 10 core/modules/image/src/ImageEffectInterface.php \Drupal\image\ImageEffectInterface::getWeight()
- 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 95
Class
- ImageEffectInterface
- Defines the interface for image effects.
Namespace
Drupal\imageCode
public function getWeight();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.