public function PullIntent::getProperty in CMS Content Sync 2.0.x
Same name and namespace in other branches
- 8 src/PullIntent.php \Drupal\cms_content_sync\PullIntent::getProperty()
- 2.1.x src/PullIntent.php \Drupal\cms_content_sync\PullIntent::getProperty()
Provide the value of a field you stored when pushing by using.
Parameters
string $name: The name of the field to restore
Return value
mixed the value you stored for this field
See also
SyncIntent::setField()
File
- src/
PullIntent.php, line 517
Class
Namespace
Drupal\cms_content_syncCode
public function getProperty($name) {
$overridden = $this
->getOverriddenProperties();
return isset($overridden[$name]) ? $overridden[$name] : $this->operation
->getProperty($name, $this->activeLanguage);
}