You are here

public function TargetDefinition::hasProperty in Feeds 8.3

Returns whether this target has a given property.

Parameters

string $property: The property to check for.

Return value

bool Returns true if the property exists, and false if not.

Overrides TargetDefinitionInterface::hasProperty

File

src/TargetDefinition.php, line 103

Class

TargetDefinition
A generic target definition.

Namespace

Drupal\feeds

Code

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