DefaultBricksHandler.php in CMS Content Sync 2.0.x
File
src/Plugin/cms_content_sync/field_handler/DefaultBricksHandler.php
View source
<?php
namespace Drupal\cms_content_sync\Plugin\cms_content_sync\field_handler;
use Drupal\Core\Field\FieldDefinitionInterface;
class DefaultBricksHandler extends DefaultEntityReferenceHandler {
public static function supports($entity_type, $bundle, $field_name, FieldDefinitionInterface $field) {
return 'bricks' == $field
->getType();
}
protected function forcePushingReferencedEntities() {
return true;
}
protected function allowsMerge() {
return false;
}
}