locale_translation_status_save

locale_translation_status_save($project, $langcode, $type, $data) Saves the status of translation sources in static cache. Parameters string $project: Machine readable project name. string $langcode: Language code. string $type: Type of data to be stored. array $data: File object also containing timestamp when the translation is last updated. File core/modules/locale/locale.module, line 919 Enables the translation of the user interface to languages other than English. Code function locale_tr

Update::$expressionFields

Array of fields to update to an expression in case of a duplicate record. This variable is a nested array in the following format: <some field> => array( 'condition' => <condition to execute, as a string>, 'arguments' => <array of arguments for condition, or NULL for none>, ); Type: array File core/lib/Drupal/Core/Database/Query/Update.php, line 51 Class Update General class for an abstracted UPDATE operation. Namespace Drupal\Core\Database\Query Code prot

locale_translation_get_status

locale_translation_get_status($projects = NULL, $langcodes = NULL) Gets the current translation status. @todo What is 'translation status'? File core/modules/locale/locale.module, line 882 Enables the translation of the user interface to languages other than English. Code function locale_translation_get_status($projects = NULL, $langcodes = NULL) { $result = array(); $status = \Drupal::state()->get('locale.translation_status'); module_load_include('translation.inc', 'locale'); $pro

Update::$table

The table to update. Type: string File core/lib/Drupal/Core/Database/Query/Update.php, line 22 Class Update General class for an abstracted UPDATE operation. Namespace Drupal\Core\Database\Query Code protected $table;