public function TargetInterface::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.
2 methods override TargetInterface::isEmpty()
- FieldTargetBase::isEmpty in src/
Plugin/ Type/ Target/ FieldTargetBase.php - Returns if the value for the target is empty.
- Temporary::isEmpty in src/
Feeds/ Target/ Temporary.php - Returns if the value for the target is empty.
File
- src/
Plugin/ Type/ Target/ TargetInterface.php, line 70
Class
- TargetInterface
- Interface for Feed targets.
Namespace
Drupal\feeds\Plugin\Type\TargetCode
public function isEmpty(FeedInterface $feed, EntityInterface $entity, $target);