You are here

public function ImageAPIOptimizeProcessorBase::getWeight in Image Optimize (or ImageAPI Optimize) 8.2

Same name and namespace in other branches
  1. 8.3 src/ImageAPIOptimizeProcessorBase.php \Drupal\imageapi_optimize\ImageAPIOptimizeProcessorBase::getWeight()
  2. 4.x src/ImageAPIOptimizeProcessorBase.php \Drupal\imageapi_optimize\ImageAPIOptimizeProcessorBase::getWeight()

Returns the weight of the image optimize processor.

Return value

int|string Either the integer weight of the image optimize processor, or an empty string.

Overrides ImageAPIOptimizeProcessorInterface::getWeight

1 call to ImageAPIOptimizeProcessorBase::getWeight()
ImageAPIOptimizeProcessorBase::getConfiguration in src/ImageAPIOptimizeProcessorBase.php
Gets this plugin's configuration.

File

src/ImageAPIOptimizeProcessorBase.php, line 114

Class

ImageAPIOptimizeProcessorBase
Provides a base class for image optimize processors.

Namespace

Drupal\imageapi_optimize

Code

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