function hook_reviews in Coder 7.2
Same name and namespace in other branches
- 7 coder_review/coder_review.api.php \hook_reviews()
Perform a custom review on a module or a theme.
This hook allows a module to implement its own custom code review(s). This is accomplished by specifying a Coder settings array that consists of one or more Review arrays, which in turn may contain one or more Rule arrays.
Return value
array A Coder settings array with information about the reviews and rules provided by the module that implements this hook.
16 functions implement hook_reviews()
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
- coder_review_47_reviews in coder_review/
includes/ coder_review_47.inc - Implements hook_reviews().
- coder_review_5x_reviews in coder_review/
includes/ coder_review_5x.inc - Implements hook_reviews().
- coder_review_6x_reviews in coder_review/
includes/ coder_review_6x.inc - Implements hook_reviews().
- coder_review_7x_reviews in coder_review/
includes/ coder_review_7x.inc - Implements hook_reviews().
- coder_review_8x_reviews in coder_review/
includes/ coder_review_8x.inc - Implements hook_reviews().
1 invocation of hook_reviews()
- _coder_review_reviews in coder_review/
coder_review.common.inc - Creates a list of all modules that implement hook_reviews().
File
- coder_review/
coder_review.api.php, line 66 - Hooks provided by the Coder module.
Code
function hook_reviews() {
$review = array();
return $review;
}