You are here

function flippy_theme_suggestions_flippy in Flippy 8

Implements hook_theme_suggestions().

File

./flippy.module, line 32
Allows administrators to add previous/next pagers to any node type.

Code

function flippy_theme_suggestions_flippy(array $variables) {
  $suggestions = [];
  $node = $variables['node'];
  $suggestions[] = 'flippy__' . $node
    ->bundle();
  $suggestions[] = 'flippy__' . $node
    ->bundle() . '__' . $node
    ->id();
  return $suggestions;
}