public function Row::hasDestinationProperty in Zircon Profile 8.0
Same name and namespace in other branches
- 8 core/modules/migrate/src/Row.php \Drupal\migrate\Row::hasDestinationProperty()
Tests if destination property exists.
Parameters
array|string $property: An array of properties on the destination.
Return value
bool TRUE if the destination property exists.
File
- core/
modules/ migrate/ src/ Row.php, line 208 - Contains \Drupal\migrate\Row.
Class
- Row
- Stores a row.
Namespace
Drupal\migrateCode
public function hasDestinationProperty($property) {
return NestedArray::keyExists($this->destination, explode(static::PROPERTY_SEPARATOR, $property));
}