FieldDefinitionProviderInterface.php in CiviCRM Entity 8.3
Namespace
Drupal\civicrm_entity\EntityFile
src/Entity/FieldDefinitionProviderInterface.phpView source
<?php
namespace Drupal\civicrm_entity\Entity;
interface FieldDefinitionProviderInterface {
/**
* Gets an entity base field definition from a CiviCRM field definition.
*
* @param array $civicrm_field
* The CiviCRM field definition.
*
* @return \Drupal\Core\Field\BaseFieldDefinition
* The base field definition.
*/
public function getBaseFieldDefinition(array $civicrm_field);
}
Interfaces
Name![]() |
Description |
---|---|
FieldDefinitionProviderInterface |