Commit 962cbbfb authored by Sourabh Jain's avatar Sourabh Jain Committed by Sven Berg Ryen
Browse files

Issue #3300526 by sourabhjain, heddn, svenryen: Deprecated use of module_load_include()

parent af36ef15
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -72,7 +72,7 @@ function eu_cookie_compliance_schema() {
 * Implements hook_install().
 */
function eu_cookie_compliance_install() {
  module_load_include('module', 'eu_cookie_compliance', 'eu_cookie_compliance');
  \Drupal::moduleHandler()->loadInclude('eu_cookie_compliance', 'module');

  $roles = Role::loadMultiple();
  $permission = 'display eu cookie compliance popup';