You are here

public function JobItem::resetData in Translation Management Tool 8

Resets job item data arrays.

Overrides JobItemInterface::resetData

File

src/Entity/JobItem.php, line 813

Class

JobItem
Entity class for the tmgmt_job_item entity.

Namespace

Drupal\tmgmt\Entity

Code

public function resetData() {
  $this->data->value = NULL;
  $this->unserializedData = NULL;
  $this
    ->getData();
}