*/
protected static $mimeType = 'application/hal+json';
- /**
- * {@inheritdoc}
- *
- * The HAL+JSON format causes different PATCH-protected fields. For some
- * reason, the 'pid' and 'homepage' fields are NOT PATCH-protected, even
- * though they are for non-HAL+JSON serializations.
- *
- * @todo fix in https://www.drupal.org/node/2824271
- */
- protected static $patchProtectedFieldNames = [
- 'status',
- 'created',
- 'changed',
- 'thread',
- 'entity_type',
- 'field_name',
- 'entity_id',
- 'uid',
- ];
/**
* {@inheritdoc}