protected function PollChoiceTranslationMetadataWrapper::setFieldOnlyIfTranslatable in Poll 8
Updates a field value, only if the field is translatable.
Parameters
string $field_name: The name of the field.
mixed $value: The field value to be set.
Overrides ContentTranslationMetadataWrapper::setFieldOnlyIfTranslatable
File
- src/
PollChoiceTranslationMetadataWrapper.php, line 100
Class
- PollChoiceTranslationMetadataWrapper
- Base class for content translation metadata wrappers.
Namespace
Drupal\pollCode
protected function setFieldOnlyIfTranslatable($field_name, $value) {
}