You are here

function radioactivity_page_attachments_alter in Radioactivity 8.3

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

Implements hook_page_attachments_alter().

File

./radioactivity.module, line 45
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);
}