You are here

public function EntityReferenceHelperInterface::relationshipHandleable in Entity Share 8.3

Check if a relationship is handleable.

Filter on fields not targeting config entities or users.

Parameters

\Drupal\Core\Field\FieldItemListInterface $field: The field item list.

Return value

int One of class constants which describe this relationship field.

1 method overrides EntityReferenceHelperInterface::relationshipHandleable()
EntityReferenceHelper::relationshipHandleable in modules/entity_share_client/src/Service/EntityReferenceHelper.php
Check if a relationship is handleable.

File

modules/entity_share_client/src/Service/EntityReferenceHelperInterface.php, line 40

Class

EntityReferenceHelperInterface
Entity reference helper interface methods.

Namespace

Drupal\entity_share_client\Service

Code

public function relationshipHandleable(FieldItemListInterface $field);