public function MediaWatermark::setHorizontalMargin in Media watermark 8
Sets the Watermark file horizontal margin.
Parameters
string $horizontalMargin: Watermark file horizontal margin.
Return value
$this
Overrides MediaWatermarkInterface::setHorizontalMargin
File
- src/
Entity/ MediaWatermark.php, line 140
Class
- MediaWatermark
- Defines the media_watermark entity.
Namespace
Drupal\media_watermark\EntityCode
public function setHorizontalMargin(string $horizontalMargin) {
$this->horizontalMargin = $horizontalMargin;
return $this;
}