function answers_core_theme in Answers 2.0.x
Same name and namespace in other branches
- 1.0.x modules/core/answers_core.module \answers_core_theme()
Implements hook_theme().
File
- modules/
core/ answers_core.module, line 15 - Hook implementation code for the Answers core module.
Code
function answers_core_theme() {
return [
'comment__answers_comments__answers_answer' => [
'base hook' => 'comment',
],
'comment__answers__answers_question' => [
'base hook' => 'comment',
],
'comment__answers_comments__answers_answer' => [
'base hook' => 'comment',
],
'comment__answers_comments__answers_question' => [
'base hook' => 'comment',
],
'node__answers_question' => [
'base hook' => 'node',
],
'field__node__answers__answers_question' => [
'base hook' => 'field',
],
// 'field__node__answers_comments__answers_answer' => [
// 'base hook' => 'field',
// ],
'field__node__answers_comments__answers_question' => [
'base hook' => 'field',
],
];
}