function tmgmt_review_form_element_ajaxid in Translation Management Tool 8
Helper function to output ajaxid.
Parameters
string $parent_key: Parent element key.
Return value
string The ajax id.
1 call to tmgmt_review_form_element_ajaxid()
- JobItemForm::reviewFormElement in src/
Form/ JobItemForm.php - Build form elements for the review form using flattened data items.
File
- ./
tmgmt.module, line 739 - Main module file for the Translation Management module.
Code
function tmgmt_review_form_element_ajaxid($parent_key) {
return 'tmgmt-ui-element-' . Html::cleanCssIdentifier($parent_key) . '-wrapper';
}