function paragraphs_collection_test_theme_suggestions_alter

Implements hook_theme_suggestions_alter().

File

paragraphs_collection/modules/paragraphs_collection_test/paragraphs_collection_test.module, line 11
Contains paragraphs_collection_test.module

Code

function paragraphs_collection_test_theme_suggestions_alter(array &$suggestions, array $variables, $hook) {
  if ($hook == 'paragraph') {
    \Drupal::messenger()
      ->addMessage(implode(",", $suggestions));
  }
}