function DrupalMatchPathTestCase::getInfo
File
-
modules/
simpletest/ tests/ path.test, line 16
Class
- DrupalMatchPathTestCase
- Unit tests for the <a href="/api/drupal/includes%21path.inc/function/drupal_match_path/7.x" title="Check if a path matches any pattern in a set of patterns." class="local">drupal_match_path</a>() function in <a href="/api/drupal/includes%21path.inc/7.x" title="Functions to handle paths in Drupal, including path aliasing." class="local">path.inc</a>.
Code
public static function getInfo() {
return array(
'name' => 'Drupal match path',
'description' => 'Tests the drupal_match_path() function to make sure it works properly.',
'group' => 'Path API',
);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.