function potx_reviews in Translation template extractor 7.2
Same name and namespace in other branches
- 6.3 potx.module \potx_reviews()
- 6.2 potx.module \potx_reviews()
- 7.3 potx.module \potx_reviews()
- 7 potx.module \potx_reviews()
Implementation of hook_reviews(). Coder module integration.
Provides the list of reviews provided by this module.
File
- ./
potx.module, line 44 - Drupal translation template extractor.
Code
function potx_reviews() {
$review = array(
'#title' => t('Interface text translatability'),
'#link' => 'http://drupal.org/translators',
'#rules' => array(
array(
'#type' => 'callback',
'#value' => 'potx_coder_review',
),
),
);
return array(
'potx' => $review,
);
}