Skip to content

Commit

Permalink
Refactor of hook_theme - removed unused themes.
Browse files Browse the repository at this point in the history
  • Loading branch information
szatom committed Oct 5, 2017
1 parent 1b67f04 commit 98d0314
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions parade.module
Original file line number Diff line number Diff line change
Expand Up @@ -137,39 +137,18 @@ function parade_preprocess_paragraph__text_boxes(&$variables) {
*/
function parade_theme($existing, $type, $theme, $path) {
return [
'paragraph' => [],
'paragraph__header' => [
'base hook' => 'paragraph',
],
'paragraph__parallax' => [
'base hook' => 'paragraph',
],
'paragraph__simple' => [
'template' => 'paragraph',
'base hook' => 'paragraph',
],
'paragraph__text_box' => [
'base hook' => 'paragraph',
],
'paragraph__text_boxes' => [
'base hook' => 'paragraph',
],
'paragraph__images' => [
'template' => 'paragraph',
'base hook' => 'paragraph',
],
'paragraph__image_text' => [
'template' => 'paragraph',
'base hook' => 'paragraph',
],
'paragraph__locations' => [
'template' => 'paragraph',
'base hook' => 'paragraph',
],
'paragraph__social_links' => [
'template' => 'paragraph',
'base hook' => 'paragraph',
],
'parade_preview' => [
'variables' => ['paragraph' => NULL],
],
Expand Down

0 comments on commit 98d0314

Please sign in to comment.