8.5.x Row.php Row::getSourceProperty($property)
8.0.x Row.php Row::getSourceProperty($property)
8.1.x Row.php Row::getSourceProperty($property)
8.2.x Row.php Row::getSourceProperty($property)
8.3.x Row.php Row::getSourceProperty($property)
8.4.x Row.php Row::getSourceProperty($property)
8.6.x Row.php Row::getSourceProperty($property)

Retrieves a source property.

Parameters

string $property: A property on the source.

Return value

mixed|null The found returned property or NULL if not found.

File

core/modules/migrate/src/Row.php, line 137

Class

Row
Stores a row.

Namespace

Drupal\migrate

Code

public function getSourceProperty($property) {
  $return = NestedArray::getValue($this->source, explode(static::PROPERTY_SEPARATOR, $property), $key_exists);
  if ($key_exists) {
    return $return;
  }
}