public function ImageEffectBase::getWeight in Drupal 8
Same name and namespace in other branches
- 9 core/modules/image/src/ImageEffectBase.php \Drupal\image\ImageEffectBase::getWeight()
- 10 core/modules/image/src/ImageEffectBase.php \Drupal\image\ImageEffectBase::getWeight()
Returns the weight of the image effect.
Return value
int|string Either the integer weight of the image effect, or an empty string.
Overrides ImageEffectInterface::getWeight
1 call to ImageEffectBase::getWeight()
- ImageEffectBase::getConfiguration in core/
modules/ image/ src/ ImageEffectBase.php - Gets this plugin's configuration.
File
- core/
modules/ image/ src/ ImageEffectBase.php, line 123
Class
- ImageEffectBase
- Provides a base class for image effects.
Namespace
Drupal\imageCode
public function getWeight() {
return $this->weight;
}