You are here

public function TargetDefinition::isUnique in Feeds 8.3

Retuns whether a property is unique.

Parameters

string $property: The property to check.

Return value

bool Returns true if the property is unique, and false if not.

Overrides TargetDefinitionInterface::isUnique

File

src/TargetDefinition.php, line 131

Class

TargetDefinition
A generic target definition.

Namespace

Drupal\feeds

Code

public function isUnique($property) {
  return isset($this->unique[$property]);
}