public function JobInterface::cleanSuggestionsList

Removes all suggestions from the given list which should not be processed.

This function removes all suggestions from the given list which are already assigned to a translation job or which should not be processed because there are no words, no translation is needed, ...

Parameters

array &$suggestions: Associative array of translation suggestions. It must contain at least:

  • tmgmt_job: An instance of aJobItem.
1 method overrides JobInterface::cleanSuggestionsList()
Job::cleanSuggestionsList in src/Entity/Job.php
Removes all suggestions from the given list which should not be processed.

File

src/JobInterface.php, line 720

Class

JobInterface
Interface for tmgmt_job entity.

Namespace

Drupal\tmgmt

Code

public function cleanSuggestionsList(array &$suggestions);