public function OpenlayersPluginBase::setWeight in Openlayers 8.4
Sets the weight for this image effect.
Parameters
int $weight: The weight for this image effect.
Return value
$this
Overrides OpenlayersPluginInterface::setWeight
File
- src/
OpenlayersPluginBase.php, line 117
Class
- OpenlayersPluginBase
- Provides a base class for image effects.
Namespace
Drupal\openlayersCode
public function setWeight($weight) {
$this->weight = $weight;
return $this;
}