You are here

function potx_reviews in Translation template extractor 7.3

Same name and namespace in other branches
  1. 6.3 potx.module \potx_reviews()
  2. 6.2 potx.module \potx_reviews()
  3. 7 potx.module \potx_reviews()
  4. 7.2 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,
  );
}