You are here

public function TamperPluginBase::executeMultiple in Tamper 7

Executes the plugin on multiple values.

Parameters

[]string $values: The list of values to execute.

Return value

[]string The list of transformed values.

Overrides TamperPluginInterface::executeMultiple

File

src/Tamper.php, line 330
Contains TamperPluginBase.

Class

TamperPluginBase
Base class for Tamper plugins.

Code

public function executeMultiple(array $values) {
  foreach ($values as $delta => $value) {
    $values[$delta] = $this
      ->execute($value);
  }
  return $values;
}