public function Temporary::isEmpty in Feeds 8.3
Returns if the value for the target is empty.
Parameters
\Drupal\feeds\FeedInterface $feed: The feed object.
\Drupal\Core\Entity\EntityInterface $entity: The target object.
string $target: The name of the target to set.
Return value
bool True if the value on the entity is empty. False otherwise.
Overrides TargetInterface::isEmpty
File
- src/
Feeds/ Target/ Temporary.php, line 47
Class
- Temporary
- Defines a target that does not set data.
Namespace
Drupal\feeds\Feeds\TargetCode
public function isEmpty(FeedInterface $feed, EntityInterface $entity, $target) {
return TRUE;
}