You are here

public function MigrateValidatableEntityInterface::isEntityValidationRequired in Drupal 8

Same name and namespace in other branches
  1. 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 23

Class

MigrateValidatableEntityInterface
To implement by a destination plugin that should provide entity validation.

Namespace

Drupal\migrate\Plugin

Code

public function isEntityValidationRequired(FieldableEntityInterface $entity);