abstract public function ScannerPluginBase::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.
Overrides ScannerPluginInterface::replace
1 method overrides ScannerPluginBase::replace()
- Entity::replace in src/
Plugin/ Scanner/ Entity.php - Performs the replace operation for the given string/expression.
File
- src/
Plugin/ ScannerPluginBase.php, line 92
Class
- ScannerPluginBase
- Plugin for ScannerPluginBase class.
Namespace
Drupal\scanner\PluginCode
public abstract function replace($field, array $values, array $undo_data);