You are here

public function DataProviderInterface::setFieldDefinition in Geolocation Field 8.3

Same name and namespace in other branches
  1. 8.2 src/DataProviderInterface.php \Drupal\geolocation\DataProviderInterface::setFieldDefinition()

Set field definition.

Parameters

\Drupal\Core\Field\FieldDefinitionInterface $fieldDefinition: Field definition.

1 method overrides DataProviderInterface::setFieldDefinition()
DataProviderBase::setFieldDefinition in src/DataProviderBase.php
Set field definition.

File

src/DataProviderInterface.php, line 161

Class

DataProviderInterface
Defines an interface for geolocation DataProvider plugins.

Namespace

Drupal\geolocation

Code

public function setFieldDefinition(FieldDefinitionInterface $fieldDefinition);