public function JobInterface::getSuggestions

Invoke the hook 'hook_tmgmt_source_suggestions' to get all suggestions.

Parameters

array $conditions: Conditions to pass only some and not all items to the hook.

Return value

array An array with all additional translation suggestions.

  • job_item: AJobItem instance.
  • referenced: A string which indicates where this suggestion comes from.
  • from_job: The mainJob-ID which suggests this translation.
1 method overrides JobInterface::getSuggestions()
Job::getSuggestions in src/Entity/Job.php
Invoke the hook 'hook_tmgmt_source_suggestions' to get all suggestions.

File

src/JobInterface.php, line 707

Class

JobInterface
Interface for tmgmt_job entity.

Namespace

Drupal\tmgmt

Code

public function getSuggestions(array $conditions = array());