You are here

public function FieldDefinitionProviderInterface::getBaseFieldDefinition in CiviCRM Entity 8.3

Gets an entity base field definition from a CiviCRM field definition.

Parameters

array $civicrm_field: The CiviCRM field definition.

Return value

\Drupal\Core\Field\BaseFieldDefinition The base field definition.

1 method overrides FieldDefinitionProviderInterface::getBaseFieldDefinition()
FieldDefinitionProvider::getBaseFieldDefinition in src/Entity/FieldDefinitionProvider.php
Gets an entity base field definition from a CiviCRM field definition.

File

src/Entity/FieldDefinitionProviderInterface.php, line 16

Class

FieldDefinitionProviderInterface

Namespace

Drupal\civicrm_entity\Entity

Code

public function getBaseFieldDefinition(array $civicrm_field);