public function JsonapiHelperInterface::clearImportedEntities in Entity Share 8.2
Allow to clear imported entities counter.
So the same entity can be reimported multiple times during the same PHP process.
Without argument, all imported entities counter are deleted.
If a langcode is passed, all imported entities counter in this langcode are deleted.
If an entity UUID is passed, the imported entity counter is deleted for all languages.
If a langcode and an entity UUID are passed, the imported entity counter is deleted for the specified language.
Parameters
string $langcode: The langcode for which to clear the imported entities.
string $entity_uuid: The UUID of the entity to clear the langcode for.
1 method overrides JsonapiHelperInterface::clearImportedEntities()
- JsonapiHelper::clearImportedEntities in modules/
entity_share_client/ src/ Service/ JsonapiHelper.php - Allow to clear imported entities counter.
File
- modules/
entity_share_client/ src/ Service/ JsonapiHelperInterface.php, line 102
Class
- JsonapiHelperInterface
- Jsonapi helper interface methods.
Namespace
Drupal\entity_share_client\ServiceCode
public function clearImportedEntities($langcode = '', $entity_uuid = '');