You are here

public function PullIntent::getOverriddenProperties in CMS Content Sync 8

Same name and namespace in other branches
  1. 2.1.x src/PullIntent.php \Drupal\cms_content_sync\PullIntent::getOverriddenProperties()
  2. 2.0.x src/PullIntent.php \Drupal\cms_content_sync\PullIntent::getOverriddenProperties()

Get all field values at once for the currently active language.

Return value

array all field values for the active language

1 call to PullIntent::getOverriddenProperties()
PullIntent::getProperty in src/PullIntent.php
Provide the value of a field you stored when pushing by using.

File

src/PullIntent.php, line 475

Class

PullIntent

Namespace

Drupal\cms_content_sync

Code

public function getOverriddenProperties() {
  if ($this->activeLanguage) {
    if (!isset($this->overriddenTranslatedProperties[$this->activeLanguage])) {
      return null;
    }
    return $this->overriddenTranslatedProperties[$this->activeLanguage];
  }
  return $this->overriddenProperties;
}