function MigrateValidatableEntityInterface::isEntityValidationRequired

Same name in other branches
  1. 9 core/modules/migrate/src/Plugin/MigrateValidatableEntityInterface.php \Drupal\migrate\Plugin\MigrateValidatableEntityInterface::isEntityValidationRequired()
  2. 8.9.x core/modules/migrate/src/Plugin/MigrateValidatableEntityInterface.php \Drupal\migrate\Plugin\MigrateValidatableEntityInterface::isEntityValidationRequired()
  3. 10 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);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.