Gets an array of all field values.
Gets an array of plain field values, including only non-computed values. Note that the structure varies by entity type and bundle.
array An array of field values, keyed by field name.
Overrides EntityInterface::toArray
public function toArray();