You are here

public function MediaInterface::setPublisherId in Media entity 8

Sets the media publisher user ID.

Parameters

int $uid: The author user id.

Return value

\Drupal\media_entity\MediaInterface The called media entity.

1 method overrides MediaInterface::setPublisherId()
Media::setPublisherId in src/Entity/Media.php
Sets the media publisher user ID.

File

src/MediaInterface.php, line 63

Class

MediaInterface
Provides an interface defining a media entity.

Namespace

Drupal\media_entity

Code

public function setPublisherId($uid);