function devel_page_attachments_alter
Same name in other branches
- 8.x-1.x devel.module \devel_page_attachments_alter()
- 5.x devel.module \devel_page_attachments_alter()
Implements hook_page_attachments_alter().
File
-
./
devel.module, line 284
Code
function devel_page_attachments_alter(&$page) {
if (\Drupal::currentUser()->hasPermission('access devel information') && \Drupal::config('devel.settings')->get('page_alter')) {
dpm($page, 'page');
}
}