You are here

abstract public function ScannerPluginBase::search in Search and Replace Scanner 8

Performs the search 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).

Return value

array An array containing the entity titles and an array of matches in the entity.

Overrides ScannerPluginInterface::search

1 method overrides ScannerPluginBase::search()
Entity::search in src/Plugin/Scanner/Entity.php
Performs the serach operation for the given string/expression.

File

src/Plugin/ScannerPluginBase.php, line 76

Class

ScannerPluginBase
Plugin for ScannerPluginBase class.

Namespace

Drupal\scanner\Plugin

Code

public abstract function search($field, array $values);