You are here

function viewsphpfilter_help in Views PHP Filter 7

Same name and namespace in other branches
  1. 5 viewsphpfilter.module \viewsphpfilter_help()
  2. 6 viewsphpfilter.module \viewsphpfilter_help()

Implementation of hook_help().

File

./viewsphpfilter.module, line 6

Code

function viewsphpfilter_help($path, $arg) {
  $output = '';
  switch ($path) {
    case "admin/help#viewsphpfilter":
      $output = '<p>' . t("A filter for the Views module.") . '</p>';
      $output = '<p>' . t("This filter will appear in the Views Filter dialog as a \"Node: Node ID\".  This filter takes PHP code as its value (with no open/close brackets), which should return an array of integers representing Node IDs to include or exclude.  The filter will evaluate the PHP and filter on the resulting array.  It can also (experimental) take a list of node IDs, separated by commas.") . '</p>';
      break;
  }
  return $output;
}