You are here

public function ImageEffectBase::getWeight in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 128
Contains \Drupal\image\ImageEffectBase.

Class

ImageEffectBase
Provides a base class for image effects.

Namespace

Drupal\image

Code

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