You are here

public function ScannerPluginInterface::replace in Search and Replace Scanner 8

Performs the replace operation and returns the results.

Parameters

string $field: The fully qualified name of the field (entityType:bundle:fieldname).

string $values: The input values from the form ($form_state values).

array $undo_data: The array for data values.

Return value

array An array containing both the old and new revision IDs for each affected entity.

1 method overrides ScannerPluginInterface::replace()
ScannerPluginBase::replace in src/Plugin/ScannerPluginBase.php
Performs the replace operation and returns the results;.

File

src/Plugin/ScannerPluginInterface.php, line 41

Class

ScannerPluginInterface
Plugin for ScannerPluginInterface.

Namespace

Drupal\scanner\Plugin

Code

public function replace($field, array $values, array $undo_data);