function MakeUniqueBase::exists

Same name in other branches
  1. 8.9.x core/modules/migrate/src/Plugin/migrate/process/MakeUniqueBase.php \Drupal\migrate\Plugin\migrate\process\MakeUniqueBase::exists()
  2. 10 core/modules/migrate/src/Plugin/migrate/process/MakeUniqueBase.php \Drupal\migrate\Plugin\migrate\process\MakeUniqueBase::exists()
  3. 11.x core/modules/migrate/src/Plugin/migrate/process/MakeUniqueBase.php \Drupal\migrate\Plugin\migrate\process\MakeUniqueBase::exists()

This is a query checking the existence of some value.

Parameters

mixed $value: The value to check.

Return value

bool TRUE if the value exists.

1 call to MakeUniqueBase::exists()
MakeUniqueBase::transform in core/modules/migrate/src/Plugin/migrate/process/MakeUniqueBase.php
Creates a unique value based on the source value.
1 method overrides MakeUniqueBase::exists()
MakeUniqueEntityField::exists in core/modules/migrate/src/Plugin/migrate/process/MakeUniqueEntityField.php
This is a query checking the existence of some value.

File

core/modules/migrate/src/Plugin/migrate/process/MakeUniqueBase.php, line 75

Class

MakeUniqueBase
This plugin ensures the source value is unique.

Namespace

Drupal\migrate\Plugin\migrate\process

Code

protected abstract function exists($value);

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