You are here

public function SyncIntent::getStatusData in CMS Content Sync 8

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

Retrieve a value you stored before via ::setstatusData().

Parameters

string|string[] $key: The key to retrieve

Return value

mixed whatever you previously stored here

See also

EntityStatus::getData()

File

src/SyncIntent.php, line 243

Class

SyncIntent
Class SyncIntent.

Namespace

Drupal\cms_content_sync

Code

public function getStatusData($key) {
  return $this->entity_status ? $this->entity_status
    ->getData($key) : null;
}