public function PullIntent::overwriteProperty in CMS Content Sync 8
Same name and namespace in other branches
- 2.1.x src/PullIntent.php \Drupal\cms_content_sync\PullIntent::overwriteProperty()
 - 2.0.x src/PullIntent.php \Drupal\cms_content_sync\PullIntent::overwriteProperty()
 
Overwrite the value for the given field to preprocess the values or access them at a later stage.
Parameters
string $name: The name of the field in question
mixed $value: The value to store
File
- src/
PullIntent.php, line 514  
Class
Namespace
Drupal\cms_content_syncCode
public function overwriteProperty($name, $value) {
  if ($this->activeLanguage) {
    $this->overriddenTranslatedProperties[$this->activeLanguage][$name] = $value;
    return;
  }
  $this->overriddenProperties[$name] = $value;
}