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