You are here

public function TargetDefinition::markPropertyUnique in Feeds 8.3

Marks a property as unique.

Parameters

string $property: The property to mark as unique.

Return value

$this

File

src/TargetDefinition.php, line 160

Class

TargetDefinition
A generic target definition.

Namespace

Drupal\feeds

Code

public function markPropertyUnique($property) {
  $this->unique[$property] = TRUE;
  return $this;
}