You are here

public function MediaWatermark::setHorizontalPosition in Media watermark 8

Sets the Watermark file horizontal position.

Parameters

string $horizontalPosition: Watermark file horizontal position.

Return value

$this

Overrides MediaWatermarkInterface::setHorizontalPosition

File

src/Entity/MediaWatermark.php, line 110

Class

MediaWatermark
Defines the media_watermark entity.

Namespace

Drupal\media_watermark\Entity

Code

public function setHorizontalPosition(string $horizontalPosition) {
  $this->horizontalPosition = $horizontalPosition;
  return $this;
}