Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. MigrateValidatableEntityInterface.php

function 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);
RSS feed
Powered by Drupal