You are here

public function TargetDefinition::getPropertyLabel in Feeds 8.3

Returns the label for a given property.

Parameters

string $property: The property to get a label for.

Return value

string The label for a property.

Overrides TargetDefinitionInterface::getPropertyLabel

1 call to TargetDefinition::getPropertyLabel()
FieldTargetDefinition::getPropertyLabel in src/FieldTargetDefinition.php
Returns the label for a given property.
1 method overrides TargetDefinition::getPropertyLabel()
FieldTargetDefinition::getPropertyLabel in src/FieldTargetDefinition.php
Returns the label for a given property.

File

src/TargetDefinition.php, line 117

Class

TargetDefinition
A generic target definition.

Namespace

Drupal\feeds

Code

public function getPropertyLabel($property) {
  return $this->properties[$property]['label'];
}