File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ public function __construct(UuidInterface $uuid,
105105   */ 
106106  public  function  update8802 () {
107107    $ module  = 'apigee_api_catalog ' ;
108-     $ configPath  = drupal_get_path ( ' module ',  $ module ) . '/config ' ;
108+     $ configPath  = \Drupal:: service ( ' extension.list. module ')-> getPath ( $ module ) . '/config ' ;
109109    $ configToImport ['install ' ] = [
110110      'node.type.apidoc ' ,
111111      'core.base_field_override.node.apidoc.title ' ,
@@ -354,7 +354,7 @@ public function update8807() {
354354   */ 
355355  public  function  update8808 () {
356356    $ module  = 'apigee_api_catalog ' ;
357-     $ configPath  = drupal_get_path ( ' module ',  $ module ) . '/config ' ;
357+     $ configPath  = \Drupal:: service ( ' extension.list. module ')-> getPath ( $ module ) . '/config ' ;
358358    $ configToImport ['install ' ] = [
359359      'node.type.apidoc ' ,
360360      'field.field.node.apidoc.field_api_product ' ,
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments