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

Breadcrumb

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

function MigrationLookup::skipInvalid

Skips the migration process entirely if the value is invalid.

Parameters

array $value: The incoming value to check.

1 call to MigrationLookup::skipInvalid()
MigrationLookup::transform in core/modules/migrate/src/Plugin/migrate/process/MigrationLookup.php

File

core/modules/migrate/src/Plugin/migrate/process/MigrationLookup.php, line 301

Class

MigrationLookup
Looks up the value of a property based on a previous migration.

Namespace

Drupal\migrate\Plugin\migrate\process

Code

protected function skipInvalid(array $value) {
    if (!array_filter($value, [
        $this,
        'isValid',
    ])) {
        $this->stopPipeline();
    }
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal