You are here

public function ImageEffectBase::getWeight in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/image/src/ImageEffectBase.php \Drupal\image\ImageEffectBase::getWeight()
  2. 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\image

Code

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