You are here

public function i18n_string_object_wrapper::get_string_context in Internationalization 7

Get string context

3 calls to i18n_string_object_wrapper::get_string_context()
i18n_string_object_wrapper::build_properties in i18n_string/i18n_string.inc
Build properties from object.
i18n_string_object_wrapper::get_translate_context in i18n_string/i18n_string.inc
Context to be pre-loaded before translation.
i18n_string_object_wrapper::load_strings in i18n_string/i18n_string.inc
Load all existing strings for this object.
3 methods override i18n_string_object_wrapper::get_string_context()
i18n_block_object::get_string_context in i18n_block/i18n_block.inc
Get base keys for translating this object
i18n_field::get_string_context in i18n_field/i18n_field.inc
Get string context
i18n_field_instance::get_string_context in i18n_field/i18n_field.inc
Get string context

File

i18n_string/i18n_string.inc, line 1199
API for internationalization strings

Class

i18n_string_object_wrapper
String object wrapper

Code

public function get_string_context() {
  return array(
    $this
      ->get_string_info('type'),
    $this
      ->get_key(),
  );
}