taxonomy_hook_info
modules/taxonomy/taxonomy.module, строка 1326
- Версии
- 6
taxonomy_hook_info()
Реализация hook_hook_info()
.
Код
<?php
function taxonomy_hook_info() {
return array(
'taxonomy' => array(
'taxonomy' => array(
'insert' => array(
'runs when' => t('After saving a new term to the database'),
),
'update' => array(
'runs when' => t('After saving an updated term to the database'),
),
'delete' => array(
'runs when' => t('After deleting a term')
),
),
),
);
}
?>
Войдите или зарегистрируйтесь, чтобы получить возможность отправлять комментарии