You are here

Functions in Translation template extractor 6.3

Primary tabs

Namesort descending Location Description Direct uses Strings
twig_reverse_filter vendor/Twig/Extension/Core.php Reverses a variable. 1
twig_round vendor/Twig/Extension/Core.php Rounds a number. 1
twig_slice vendor/Twig/Extension/Core.php Slices a variable. 2 1
twig_sort_filter vendor/Twig/Extension/Core.php Sorts an array. 1
twig_source vendor/Twig/Extension/Core.php Returns a template content without rendering it. 1
twig_split_filter vendor/Twig/Extension/Core.php Splits the string into an array. 1
twig_template_from_string vendor/Twig/Extension/StringLoader.php Loads a template from a string. 1
twig_test_empty vendor/Twig/Extension/Core.php Checks if a variable is empty. 1 1
twig_test_iterable vendor/Twig/Extension/Core.php Checks if a variable is traversable. 1
twig_urlencode_filter vendor/Twig/Extension/Core.php URL encodes (RFC 3986) a string as a path segment or an array as a query string. 1
twig_var_dump vendor/Twig/Extension/Debug.php 1
_potx_add_date_strings ./potx.inc Add date strings, which cannot be extracted otherwise. This is called for locale.module. 1
_potx_add_default_region_names ./potx.inc Add default theme region names, which cannot be extracted otherwise. These default names are defined in system.module 1
_potx_add_format_interval_strings ./potx.inc Add format_interval special strings, which cannot be extracted otherwise. This is called for common.inc 1
_potx_build_files ./potx.inc Creates complete file strings with _potx_store() 4
_potx_component_list ./potx.admin.inc Generate a hierarchical structured list of components. 1
_potx_component_selector ./potx.admin.inc Build a chunk of the component selection form. 1
_potx_config_replace_name ./potx.inc Replaces variables in configuration name. 1
_potx_element_has_schema ./potx.inc Checks whether an element exists in the processed schema. 2
_potx_explore_dir ./potx.inc Collect a list of file names relevant for extraction, starting from the given path. 4
_potx_find_constraint_messages ./potx.inc Detect validation constraint messages. Drupal 8+ 1
_potx_find_context ./potx.inc Helper to find the value for 'context' on t() and format_plural(). 2
_potx_find_end_of_function ./potx.inc Helper function to look up the token closing the current function. 2
_potx_find_format_plural_calls ./potx.inc Detect all occurances of format_plural calls. 1
_potx_find_info_file_strings ./potx.inc Parse an .info file and add relevant strings to the list. 1
_potx_find_language_names ./potx.inc Get languages names from Drupal's locale.inc. 1
_potx_find_log_calls ./potx.inc Detect all occurances of log() calls. 1
_potx_find_matching_schema ./potx.inc Find the schema element matching with a specific type. 2
_potx_find_menu_hooks ./potx.inc List of menu item titles. Only from Drupal 6. 1
_potx_find_perm_hook ./potx.inc Detect permission names from the hook_perm() implementations. Note that this will get confused with a similar pattern in a comment, and with dynamic permissions, which need to be accounted for. 1
_potx_find_shipped_config_translatables ./potx.inc Recursively check elements in shipped configuration with the processed schema. 1
_potx_find_translation_annotations ./potx.inc Detect all occurances of @Translation annotations in doc comments. 1
_potx_find_twig_trans_context ./potx.inc Look for a 'context' parameter in {% trans %} tags, that appear after the 'with' keyword. 1
_potx_find_t_calls ./potx.inc Detect all occurances of t()-like calls. 1
_potx_find_t_calls_with_context ./potx.inc Detect all occurances of t()-like calls from Drupal 7 (with context). 1
_potx_find_version_number ./potx.inc Get the exact CVS version number from the file, so we can push that into the generated output. 1
_potx_find_watchdog_calls ./potx.inc Detect all occurances of watchdog() calls. Only in Drupal 6 and Drupal 7. 1
_potx_find_yaml_translatables ./potx.inc Recursively look for translatable strings in a YAML file. 1
_potx_format_quoted_string ./potx.inc Escape quotes in a strings depending on the surrounding quote type used. 20
_potx_form_id ./potx.admin.inc Generate a sane form element ID for the current radio button.
_potx_get_header ./potx.inc Returns a header generated for a given file 3
_potx_init_yaml_translation_patterns ./potx.inc Initialize the list of translation patterns for YAML files. 3
_potx_load_yaml_translation_patterns ./potx.inc Load the list of YAML translation patterns from a file. 1
_potx_marker_error ./potx.inc Output a marker error with an extract of where the error was found. 7
_potx_parse_js_file ./potx.inc Parse a JavaScript file for translatables. Only from Drupal 6. 1
_potx_parse_js_string ./potx.inc Clean up string found in JavaScript source code. Only from Drupal 6. 1
_potx_parse_shipped_configuration ./potx.inc Parse shipped configuration for translatables. Drupal 8+ 2
_potx_parse_twig_file ./potx.inc Parse a Twig template for translatables. Drupal 8+. 2
_potx_parse_yaml_file ./potx.inc Parse a YAML file for translatables. Drupal 8+. 1
_potx_process_config_schema ./potx.inc Recursively process config schema into a flat structure. 1

Pages

Other projects