You are here

public function PreprocessorInterface::setField in Geocoder 8.3

Same name and namespace in other branches
  1. 8.2 modules/geocoder_field/src/PreprocessorInterface.php \Drupal\geocoder_field\PreprocessorInterface::setField()

Sets the field that needs to be preprocessed.

Parameters

\Drupal\Core\Field\FieldItemListInterface $field: The field that needs to be preprocessed.

Return value

$this

1 method overrides PreprocessorInterface::setField()
PreprocessorBase::setField in modules/geocoder_field/src/PreprocessorBase.php
Sets the field that needs to be preprocessed.

File

modules/geocoder_field/src/PreprocessorInterface.php, line 23

Class

PreprocessorInterface
Provides an interface for geocoder preprocessor plugins.

Namespace

Drupal\geocoder_field

Code

public function setField(FieldItemListInterface $field);