You are here

public function DataProviderBase::setFieldDefinition in Geolocation Field 8.2

Same name and namespace in other branches
  1. 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\geolocation

Code

public function setFieldDefinition(FieldDefinitionInterface $fieldDefinition) {
  $this->fieldDefinition = $fieldDefinition;
}