PollChoiceTranslationMetadataWrapper.php in Poll 8
File
src/PollChoiceTranslationMetadataWrapper.php
View source
<?php
namespace Drupal\poll;
use Drupal\content_translation\ContentTranslationMetadataWrapper;
use Drupal\user\UserInterface;
class PollChoiceTranslationMetadataWrapper extends ContentTranslationMetadataWrapper {
public function getSource() {
return NULL;
}
public function setSource($source) {
return $this;
}
public function isOutdated() {
return FALSE;
}
public function setOutdated($outdated) {
return $this;
}
public function getAuthor() {
return NULL;
}
public function setAuthor(UserInterface $account) {
return $this;
}
public function isPublished() {
return TRUE;
}
public function setPublished($published) {
return $this;
}
public function getCreatedTime() {
return NULL;
}
public function setCreatedTime($timestamp) {
return $this;
}
public function getChangedTime() {
return NULL;
}
public function setChangedTime($timestamp) {
return $this;
}
protected function setFieldOnlyIfTranslatable($field_name, $value) {
}
}