這個'node_example.module' 是drupal5的嗎?

http://api.drupal.org/api/HEAD/file/developer/examples/node_example.modu...

function node_example_help($section) {
$output = '';
switch ($section) {
case 'admin/modules#description':
// This description is shown in the listing at admin/modules.
$output = ''. t('An example module showing how to define a custom node type.').'';
break;
}
return $output;
}

看著怎麽像drupal4的語法啊?
比如這一段,在頁面上哪裏能看到?

少东家 的照片

Re: 這個'node_example.module' 是drupal5的嗎?

drupal5的寫法是不是應該這樣:

case 'admin/help#node_example'

哪裏有個'node_example.module' 是drupal5的源碼呢?或者怎麽該能讓它在drupal5下運行?

少东家 的照片

Re: 這個'node_example.module' 是drupal5的嗎?

有誰弄過這個嗎?

charlesc 的照片

Re: 這個'node_example.module' 是drupal5的嗎?

這是 API 說明文件,教你如何開發或修改模組,'node_example.module' 只是範例罷了。

而這是 HEAD 版,應就是 Drupal 5 吧?