You are here

paragraphs_collection_test.module in Paragraphs Collection 8

File

modules/paragraphs_collection_test/paragraphs_collection_test.module
View source
<?php

/**
 * @file
 * Contains paragraphs_collection_test.module
 */

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