You are here

public function RelationshipFieldValueEvent::getField in Entity Share 8.3

Same name and namespace in other branches
  1. 8 modules/entity_share_client/src/Event/RelationshipFieldValueEvent.php \Drupal\entity_share_client\Event\RelationshipFieldValueEvent::getField()
  2. 8.2 modules/entity_share_client/src/Event/RelationshipFieldValueEvent.php \Drupal\entity_share_client\Event\RelationshipFieldValueEvent::getField()

Returns the FieldItemList object.

Return value

\Drupal\Core\Field\FieldItemListInterface Returns the FieldItemList object.

File

modules/entity_share_client/src/Event/RelationshipFieldValueEvent.php, line 50

Class

RelationshipFieldValueEvent
Defines a RelationshipFieldValueEvent event.

Namespace

Drupal\entity_share_client\Event

Code

public function getField() {
  return $this->field;
}