You are here

public function ImageEffectBase::getWeight in Drupal 9

Same name and namespace in other branches
  1. 8 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\image

Code

public function getWeight() {
  return $this->weight;
}