function node_revision_delete_library_info_alter in Node Revision Delete 8
Implements hook_library_info_alter().
File
- ./
node_revision_delete.module, line 331 - Contains node_revision_delete.module.
Code
function node_revision_delete_library_info_alter(&$libraries, $extension) {
// Deleting the library because we have our own version.
// Maybe this cannot be longer needed once https://www.drupal.org/node/2871619
// will be fixed.
if ($extension == 'node' && isset($libraries['drupal.content_types'])) {
unset($libraries['drupal.content_types']);
}
}