You are here

public function PullIntent::getProperty in CMS Content Sync 2.0.x

Same name and namespace in other branches
  1. 8 src/PullIntent.php \Drupal\cms_content_sync\PullIntent::getProperty()
  2. 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

PullIntent

Namespace

Drupal\cms_content_sync

Code

public function getProperty($name) {
  $overridden = $this
    ->getOverriddenProperties();
  return isset($overridden[$name]) ? $overridden[$name] : $this->operation
    ->getProperty($name, $this->activeLanguage);
}