class PollChoiceTranslationMetadataWrapper in Poll 8
Base class for content translation metadata wrappers.
Hierarchy
- class \Drupal\content_translation\ContentTranslationMetadataWrapper implements ContentTranslationMetadataWrapperInterface
- class \Drupal\poll\PollChoiceTranslationMetadataWrapper
Expanded class hierarchy of PollChoiceTranslationMetadataWrapper
File
- src/
PollChoiceTranslationMetadataWrapper.php, line 11
Namespace
Drupal\pollView source
class PollChoiceTranslationMetadataWrapper extends ContentTranslationMetadataWrapper {
/**
* {@inheritdoc}
*/
public function getSource() {
return NULL;
}
/**
* {@inheritdoc}
*/
public function setSource($source) {
return $this;
}
/**
* {@inheritdoc}
*/
public function isOutdated() {
return FALSE;
}
/**
* {@inheritdoc}
*/
public function setOutdated($outdated) {
return $this;
}
/**
* {@inheritdoc}
*/
public function getAuthor() {
return NULL;
}
/**
* {@inheritdoc}
*/
public function setAuthor(UserInterface $account) {
return $this;
}
/**
* {@inheritdoc}
*/
public function isPublished() {
return TRUE;
}
/**
* {@inheritdoc}
*/
public function setPublished($published) {
return $this;
}
/**
* {@inheritdoc}
*/
public function getCreatedTime() {
return NULL;
}
/**
* {@inheritdoc}
*/
public function setCreatedTime($timestamp) {
return $this;
}
/**
* {@inheritdoc}
*/
public function getChangedTime() {
return NULL;
}
/**
* {@inheritdoc}
*/
public function setChangedTime($timestamp) {
return $this;
}
/**
* {@inheritdoc}
*/
protected function setFieldOnlyIfTranslatable($field_name, $value) {
}
}