public function PreprocessorBase::preprocess in Geocoder 8.3
Same name and namespace in other branches
- 8.2 modules/geocoder_field/src/PreprocessorBase.php \Drupal\geocoder_field\PreprocessorBase::preprocess()
Processes the values of the field before geocoding.
Return value
$this
Overrides PreprocessorInterface::preprocess
2 calls to PreprocessorBase::preprocess()
- Address::preprocess in modules/
geocoder_address/ src/ Plugin/ Geocoder/ Preprocessor/ Address.php - Processes the values of the field before geocoding.
- File::preprocess in modules/
geocoder_field/ src/ Plugin/ Geocoder/ Preprocessor/ File.php - Processes the values of the field before geocoding.
2 methods override PreprocessorBase::preprocess()
- Address::preprocess in modules/
geocoder_address/ src/ Plugin/ Geocoder/ Preprocessor/ Address.php - Processes the values of the field before geocoding.
- File::preprocess in modules/
geocoder_field/ src/ Plugin/ Geocoder/ Preprocessor/ File.php - Processes the values of the field before geocoding.
File
- modules/
geocoder_field/ src/ PreprocessorBase.php, line 70
Class
- PreprocessorBase
- Base class for the Preprocessor plugin.
Namespace
Drupal\geocoder_fieldCode
public function preprocess() {
if (!isset($this->field)) {
throw new \RuntimeException('A field (\\Drupal\\Core\\Field\\FieldItemListInterface) must be set with ::setField() before preprocessing.');
}
}