You are here

public function EntityHandlerInterface::getForbiddenFields in CMS Content Sync 8

Same name and namespace in other branches
  1. 2.1.x src/Plugin/EntityHandlerInterface.php \Drupal\cms_content_sync\Plugin\EntityHandlerInterface::getForbiddenFields()
  2. 2.0.x src/Plugin/EntityHandlerInterface.php \Drupal\cms_content_sync\Plugin\EntityHandlerInterface::getForbiddenFields()

Provide a list of fields that are not allowed to be pushed or pulled. These fields typically contain all label fields that are pushed separately anyway (we don't want to set IDs and revision IDs of entities for example, but only use the UUID for references).

Return value

string[]

1 method overrides EntityHandlerInterface::getForbiddenFields()
EntityHandlerBase::getForbiddenFields in src/Plugin/EntityHandlerBase.php
Provide a list of fields that are not allowed to be pushed or pulled. These fields typically contain all label fields that are pushed separately anyway (we don't want to set IDs and revision IDs of entities for example, but only use the UUID for…

File

src/Plugin/EntityHandlerInterface.php, line 110

Class

EntityHandlerInterface
Specifies the publicly available methods of an entity handler plugin that can be used to push and pull entities with Sync Core.

Namespace

Drupal\cms_content_sync\Plugin

Code

public function getForbiddenFields();