を含むフィールド コレクションがあります。
- コピーフィールド
- エンティティ参照によるユーザー フィールド
コレクションをに保存してコピーフィールドにアクセスしようとすると$collection
、
$collection->field_my_collection_copy->value();
私は探しているものを手に入れましたが、エンティティ参照フィールドで同様のことを試みています
$collection->field_my_collection_user->value();
壊れます。変数を調べると、$collection->field_my_collection_user
「uid」が利用可能である必要がありますが、$collection->field_my_collection_user->uid
何も$collection->field_my_collection_user->uid->value();
得られず、Unable to get the data property uid as the parent data structure is not set