GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Passed
Push — 8.x-4.x ( ae8a1f...7adc38 )
by Kevin
04:49
created

df_tools_frontend_panels_build_alter()   A

Complexity

Conditions 4
Paths 2

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 3
dl 0
loc 5
rs 10
c 0
b 0
f 0
cc 4
nc 2
nop 2
1
<?php
2
3
/**
4
 * Implements hook_library_info_alter().
5
 */
6
function df_tools_frontend_library_info_alter(&$libraries, $extension) {
7
  if ($extension == 'image') {
8
    $path = drupal_get_path('module', 'df_tools_frontend');
9
    $libraries['quickedit.inPlaceEditor.image']['js']['/' . $path . '/js/quickedit_image_browser.js'] = [];
10
  }
11
}
12
13
/**
14
 * Implements hook_page_attachments().
15
 */
16
function df_tools_frontend_page_attachments(array &$attachments) {
17
  $attachments['#attached']['library'][] = 'df_tools_frontend/full_screen_modal';
18
}
19