public function MigrateValidatableEntityInterface::isEntityValidationRequired in Drupal 10
Same name and namespace in other branches
- 8 core/modules/migrate/src/Plugin/MigrateValidatableEntityInterface.php \Drupal\migrate\Plugin\MigrateValidatableEntityInterface::isEntityValidationRequired()
- 9 core/modules/migrate/src/Plugin/MigrateValidatableEntityInterface.php \Drupal\migrate\Plugin\MigrateValidatableEntityInterface::isEntityValidationRequired()
Returns a state of whether an entity needs to be validated before saving.
Parameters
\Drupal\Core\Entity\FieldableEntityInterface $entity: The entity to check for required validation.
Return value
bool A state of whether an entity needs to be validated.
1 method overrides MigrateValidatableEntityInterface::isEntityValidationRequired()
- EntityContentBase::isEntityValidationRequired in core/
modules/ migrate/ src/ Plugin/ migrate/ destination/ EntityContentBase.php - Returns a state of whether an entity needs to be validated before saving.
File
- core/
modules/ migrate/ src/ Plugin/ MigrateValidatableEntityInterface.php, line 25
Class
- MigrateValidatableEntityInterface
- To implement by a destination plugin that should provide entity validation.
Namespace
Drupal\migrate\PluginCode
public function isEntityValidationRequired(FieldableEntityInterface $entity);