You are here

public function ImageEffectInterface::getWeight in Drupal 9

Same name and namespace in other branches
  1. 8 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();