protected function DefaultFieldCollectionHandler::getInvalidSubfields in CMS Content Sync 2.1.x
Same name and namespace in other branches
- 8 src/Plugin/cms_content_sync/field_handler/DefaultFieldCollectionHandler.php \Drupal\cms_content_sync\Plugin\cms_content_sync\field_handler\DefaultFieldCollectionHandler::getInvalidSubfields()
- 2.0.x src/Plugin/cms_content_sync/field_handler/DefaultFieldCollectionHandler.php \Drupal\cms_content_sync\Plugin\cms_content_sync\field_handler\DefaultFieldCollectionHandler::getInvalidSubfields()
Get a list of array keys from $entity->field_* values that should be ignored (unset before push).
Return value
array
Overrides DefaultEntityReferenceHandler::getInvalidSubfields
File
- src/
Plugin/ cms_content_sync/ field_handler/ DefaultFieldCollectionHandler.php, line 90
Class
- DefaultFieldCollectionHandler
- Providing a minimalistic implementation for any field type.
Namespace
Drupal\cms_content_sync\Plugin\cms_content_sync\field_handlerCode
protected function getInvalidSubfields() {
return [
'_accessCacheability',
'_attributes',
'_loaded',
'top',
'target_revision_id',
'subform',
'value',
'revision_id',
];
}