You are here

public function MediaWatermark::setFid in Media watermark 8

Sets the Watermark file id.

Parameters

string $fid: Watermark file id.

Return value

$this

Overrides MediaWatermarkInterface::setFid

File

src/Entity/MediaWatermark.php, line 95

Class

MediaWatermark
Defines the media_watermark entity.

Namespace

Drupal\media_watermark\Entity

Code

public function setFid($fid) {
  $this->fid = $fid;
  return $this;
}