You are here

function radioactivity_page_attachments_alter in Radioactivity 4.0.x

Same name and namespace in other branches
  1. 8.3 radioactivity.module \radioactivity_page_attachments_alter()

Implements hook_page_attachments_alter().

File

./radioactivity.module, line 53
Provides a field type which can be used as a hotness metric.

Code

function radioactivity_page_attachments_alter(array &$attachments) {
  Drupal::service('radioactivity.storage')
    ->getConfiguredStorage()
    ->injectSettings($attachments);
}