public function DataProviderBase::setFieldDefinition in Geolocation Field 8.2
Same name and namespace in other branches
- 8.3 src/DataProviderBase.php \Drupal\geolocation\DataProviderBase::setFieldDefinition()
Set field definition.
Parameters
\Drupal\Core\Field\FieldDefinitionInterface $fieldDefinition: Field definition.
Overrides DataProviderInterface::setFieldDefinition
File
- src/
DataProviderBase.php, line 222
Class
- DataProviderBase
- Class DataProviderBase.
Namespace
Drupal\geolocationCode
public function setFieldDefinition(FieldDefinitionInterface $fieldDefinition) {
$this->fieldDefinition = $fieldDefinition;
}