You are here

public function PollChoiceTranslationMetadataWrapper::setSource in Poll 8

Sets the source language for this translation.

Parameters

string $source: The source language code.

Return value

$this

Overrides ContentTranslationMetadataWrapper::setSource

File

src/PollChoiceTranslationMetadataWrapper.php, line 23

Class

PollChoiceTranslationMetadataWrapper
Base class for content translation metadata wrappers.

Namespace

Drupal\poll

Code

public function setSource($source) {
  return $this;
}