function DeprecatedReferenceItem::mainPropertyName

Same name and namespace in other branches
  1. 10 core/modules/jsonapi/tests/modules/jsonapi_test_reference_types/src/Plugin/Field/FieldType/DeprecatedReferenceItem.php \Drupal\jsonapi_test_reference_types\Plugin\Field\FieldType\DeprecatedReferenceItem::mainPropertyName()

Overrides FieldItemBase::mainPropertyName

File

core/modules/jsonapi/tests/modules/jsonapi_test_reference_types/src/Plugin/Field/FieldType/DeprecatedReferenceItem.php, line 61

Class

DeprecatedReferenceItem
Entity reference field type which doesn't implement the standard interface.

Namespace

Drupal\jsonapi_test_reference_types\Plugin\Field\FieldType

Code

public static function mainPropertyName() {
    return 'target_id';
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.