Drupal 9 Deprecated Code Report

Created on 19 March 2020, about 5 years ago
Updated 9 February 2023, about 2 years ago
 37/37 [â–“â–“â–“â–“â–“â–“â–“â–“â–“â–“â–“â–“â–“â–“â–“â–“â–“â–“â–“â–“â–“â–“â–“â–“â–“â–“â–“â–“] 100%

 ------ ------------------------------------------------------------------------ 
  Line   accessibility.admin.inc                                                 
 ------ ------------------------------------------------------------------------ 
  18     Call to deprecated function drupal_set_message():                       
         in Drupal 8.5.0 and will be removed before Drupal 9.0.0.                
         Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.    
  26     Call to deprecated function entity_create():                            
         in Drupal 8.0.x, will be removed before Drupal 9.0.0. Use               
         The method overriding Entity::create() for the entity type, e.g.        
         \Drupal\node\Entity\Node::create() if the entity type is known. If the  
         entity type is variable, use the entity storage's create() method to    
         construct a new entity:                                                 
 ------ ------------------------------------------------------------------------ 

 ------ ------------------------------------------------------------------ 
  Line   accessibility.install                                             
 ------ ------------------------------------------------------------------ 
  16     Call to deprecated function libraries_get_path():                 
         Will be removed before a stable Drupal 8 release. Please use the  
         new library load and managment concepts described at:             
         https://www.drupal.org/node/2170763                               
 ------ ------------------------------------------------------------------ 

 ------ -------------------------------------------------------------------------- 
  Line   accessibility.module                                                      
 ------ -------------------------------------------------------------------------- 
  57     Call to deprecated function libraries_get_path():                         
         Will be removed before a stable Drupal 8 release. Please use the          
         new library load and managment concepts described at:                     
         https://www.drupal.org/node/2170763                                       
  207    Call to deprecated function entity_load():                                
         in Drupal 8.0.x, will be removed before Drupal 9.0.0. Use the             
         entity type storage's load() method.                                      
  213    Call to deprecated method entityManager() of class Drupal:                
         in Drupal 8.0.0 and will be removed before Drupal 9.0.0.                  
         Use \Drupal::entityTypeManager() instead in most cases. If the needed     
         method is not on \Drupal\Core\Entity\EntityTypeManagerInterface, see the  
         deprecated \Drupal\Core\Entity\EntityManager to find the                  
         correct interface or service.                                             
  226    Call to deprecated function db_delete():                                  
         as of Drupal 8.0.x, will be removed in Drupal 9.0.0. Instead, get         
         a database connection injected into your service from the container and   
         call delete() on it. For example,                                         
  246    Call to deprecated function entity_view():                                
         as of Drupal 8.0.x, will be removed before Drupal 9.0.0.                  
         Use the entity view builder's view() method for creating a render array:  
  253    Call to deprecated function entity_view():                                
         as of Drupal 8.0.x, will be removed before Drupal 9.0.0.                  
         Use the entity view builder's view() method for creating a render array:  
  296    Call to deprecated function libraries_get_path():                         
         Will be removed before a stable Drupal 8 release. Please use the          
         new library load and managment concepts described at:                     
         https://www.drupal.org/node/2170763                                       
  353    Call to deprecated function libraries_get_path():                         
         Will be removed before a stable Drupal 8 release. Please use the          
         new library load and managment concepts described at:                     
         https://www.drupal.org/node/2170763                                       
  372    Call to deprecated function entity_load():                                
         in Drupal 8.0.x, will be removed before Drupal 9.0.0. Use the             
         entity type storage's load() method.                                      
 ------ -------------------------------------------------------------------------- 

 ------ -------------------------------------------------------------------------- 
  Line   accessibility.pages.inc                                                   
 ------ -------------------------------------------------------------------------- 
  9      Call to deprecated function entity_create():                              
         in Drupal 8.0.x, will be removed before Drupal 9.0.0. Use                 
         The method overriding Entity::create() for the entity type, e.g.          
         \Drupal\node\Entity\Node::create() if the entity type is known. If the    
         entity type is variable, use the entity storage's create() method to      
         construct a new entity:                                                   
  13     Call to deprecated method entityManager() of class Drupal:                
         in Drupal 8.0.0 and will be removed before Drupal 9.0.0.                  
         Use \Drupal::entityTypeManager() instead in most cases. If the needed     
         method is not on \Drupal\Core\Entity\EntityTypeManagerInterface, see the  
         deprecated \Drupal\Core\Entity\EntityManager to find the                  
         correct interface or service.                                             
 ------ -------------------------------------------------------------------------- 

 ------ ------------------------------------------------------------------------------------------------------------------------------------- 
  Line   lib/Drupal/accessibility/AccessibilityTestAccessController.php                                                                       
 ------ ------------------------------------------------------------------------------------------------------------------------------------- 
         Class Drupal\accessibility\AccessibilityTestAccessController was not found while trying to analyse it - autoloading is probably not  
         configured properly.                                                                                                                 
 ------ ------------------------------------------------------------------------------------------------------------------------------------- 

 ------ ----------------------------------------------------------------------------------------------------------------------------------------- 
  Line   lib/Drupal/accessibility/AccessibilityTestInterface.php                                                                                  
 ------ ----------------------------------------------------------------------------------------------------------------------------------------- 
         Class Drupal\accessibility\AccessibilityTestInterface was not found while trying to analyse it - autoloading is probably not configured properly.                                                                                                                                
 ------ ----------------------------------------------------------------------------------------------------------------------------------------- 

 ------ ------------------------------------------------------------------------------------------------------------------------------------- 
  Line   lib/Drupal/accessibility/AccessibilityTestRenderController.php                                                                       
 ------ ------------------------------------------------------------------------------------------------------------------------------------- 
         Class Drupal\accessibility\AccessibilityTestRenderController was not found while trying to analyse it - autoloading is probably not  
         configured properly.                                                                                                                 
 ------ ------------------------------------------------------------------------------------------------------------------------------------- 

 ------ -------------------------------------------------------------------------------------------------------------------------------------- 
  Line   lib/Drupal/accessibility/AccessibilityTestStorageController.php                                                                       
 ------ -------------------------------------------------------------------------------------------------------------------------------------- 
         Class Drupal\accessibility\AccessibilityTestStorageController was not found while trying to analyse it - autoloading is probably not  
         configured properly.                                                                                                                  
 ------ -------------------------------------------------------------------------------------------------------------------------------------- 

 ------ ------------------------------------------------------------------------------------------------------------------------------------------- 
  Line   lib/Drupal/accessibility/AccessibilityTestStorageControllerInterface.php                                                                   
 ------ ------------------------------------------------------------------------------------------------------------------------------------------- 
         Class Drupal\accessibility\AccessibilityTestStorageControllerInterface was not found while trying to analyze it - autoloading is probably not configured properly.                                                                                                                   
 ------ ------------------------------------------------------------------------------------------------------------------------------------------- 

 ------ -------------------------------------------------------------------------------------------------------------------------------------- 
  Line   lib/Drupal/accessibility/Controller/AccessibilityController.php                                                                       
 ------ -------------------------------------------------------------------------------------------------------------------------------------- 
         Class Drupal\accessibility\Controller\AccessibilityController was not found while trying to analyze it - autoloading is probably not  
         configured properly.                                                                                                                  
 ------ -------------------------------------------------------------------------------------------------------------------------------------- 

 ------ --------------------------------------------------------------------------------------------------------------------------------------- 
  Line   lib/Drupal/accessibility/Entity/AccessibilityTest.php                                                                                  
 ------ --------------------------------------------------------------------------------------------------------------------------------------- 
         Class Drupal\accessibility\Entity\AccessibilityTest was not found while trying to analyse it - autoloading is probably not configured properly.                                                                                                                              
 ------ --------------------------------------------------------------------------------------------------------------------------------------- 

 ------ ------------------------------------------------------------------------------------------------------------------------------------ 
  Line   lib/Drupal/accessibility/Form/AccessibilityTestDeleteForm.php                                                                       
 ------ ------------------------------------------------------------------------------------------------------------------------------------ 
         Class Drupal\accessibility\Form\AccessibilityTestDeleteForm was not found while trying to analyze it - autoloading is probably not  
         configured properly.                                                                                                                
 ------ ------------------------------------------------------------------------------------------------------------------------------------ 

 ------ ---------------------------------------------------------------------------------------------------------------------------------------- 
  Line   lib/Drupal/accessibility/Form/AccessibilityTestFormController.php                                                                       
 ------ ---------------------------------------------------------------------------------------------------------------------------------------- 
         Class Drupal\accessibility\Form\AccessibilityTestFormController was not found while trying to analyse it - autoloading is probably not configured properly.                                                                                                                    
 ------ ---------------------------------------------------------------------------------------------------------------------------------------- 

 ------ ------------------------------------------------------------------------------------------------------------------------------------- 
  Line   lib/Drupal/accessibility/Form/AccessibilityTestsImportForm.php                                                                       
 ------ ------------------------------------------------------------------------------------------------------------------------------------- 
         Class Drupal\accessibility\Form\AccessibilityTestsImportForm was not found while trying to analyse it - autoloading is probably not  
         configured properly.                                                                                                                 
 ------ ------------------------------------------------------------------------------------------------------------------------------------- 

 ------ ---------------------------------------------------------------------------------------------------------------------------------------------- 
  Line   lib/Drupal/accessibility/Plugin/views/field/AccessibilityTestEditField.php                                                                    
 ------ ---------------------------------------------------------------------------------------------------------------------------------------------- 
         Class Drupal\accessibility\Plugin\views\field\AccessibilityTestsEditField was not found while trying to analyse it - autoloading is probably not configured properly.                                                                                                                      
 ------ ---------------------------------------------------------------------------------------------------------------------------------------------- 

 ------ --------------------------------------------------------------------------------------------------------------------------------------- 
  Line   lib/Drupal/accessibility/Plugin/views/field/AccessibilityTestStatusField.php                                                           
 ------ --------------------------------------------------------------------------------------------------------------------------------------- 
         Class Drupal\accessibility\Plugin\views\field\AccessibilityTestsStatusField was not found while trying to analyse it - autoloading is probably not configured properly.                                                                                                      
 ------ --------------------------------------------------------------------------------------------------------------------------------------- 

 ------ --------------------------------------------------------------------------------------------------------------------------------------- 
  Line   lib/Drupal/accessibility/Plugin/views/field/AccessibilityTestsDeleteField.php                                                          
 ------ --------------------------------------------------------------------------------------------------------------------------------------- 
         Class Drupal\accessibility\Plugin\views\field\AccessibilityTestsDeleteField was not found while trying to analyse it - autoloading is probably not configured properly.                                                                                                      
 ------ --------------------------------------------------------------------------------------------------------------------------------------- 

 ------ ---------------------------------------------------------------------------------------------------------------------------------------------- 
  Line   lib/Drupal/accessibility/Plugin/views/field/AccessibilityTestsLinkField.php                                                                   
 ------ ---------------------------------------------------------------------------------------------------------------------------------------------- 
         Class Drupal\accessibility\Plugin\views\field\AccessibilityTestsLinkField was not found while trying to analyse it - autoloading is probably not configured properly.                                                                                                                      
 ------ ---------------------------------------------------------------------------------------------------------------------------------------------- 

 ------ ---------------------------------------------------------------------------------------------------------------------------------------------- 
  Line   modules/accessibility_content/lib/Drupal/accessibility_content/Form/AccessibilityContentAdminForm.php                                         
 ------ ---------------------------------------------------------------------------------------------------------------------------------------------- 
         Class Drupal\accessibility_content\Form\AccessibilityContentAdminForm was not found while trying to analyze it - autoloading is probably not  
         configured properly.                                                                                                                          
 ------ ---------------------------------------------------------------------------------------------------------------------------------------------- 

 ------ ---------------------------------------------------------------------------------------------------------------------------------------------- 
  Line   modules/accessibility_reporting/lib/Drupal/accessibility_reporting/AccessibilityReportingController.php                                       
 ------ ---------------------------------------------------------------------------------------------------------------------------------------------- 
         Class Drupal\accessibility_reporting\AccessibilityReportingController was not found while trying to analyze it - autoloading is probably not  
         configured properly.                                                                                                                          
 ------ ---------------------------------------------------------------------------------------------------------------------------------------------- 

 ------ ---------------------------------------------------------------------------------------------------------------------------------------- 
  Line modules/accessibility_reporting/lib/Drupal/accessibility_reporting/Plugin/views/field/AccessibilityReportingReportedField.php           
 ------ ---------------------------------------------------------------------------------------------------------------------------------------- 
         Class Drupal\accessibility_reporting\Plugin\views\field\AccessibilityReportingReportedField was not found while trying to analyze it -  
         autoloading is probably not configured properly.                                                                                        
 ------ ---------------------------------------------------------------------------------------------------------------------------------------- 

 ------ ------------------------------------------------------------------------- 
  Line   modules/accessibility_testswarm/accessibility_testswarm.inc              
 ------ ------------------------------------------------------------------------- 
  24     Call to deprecated function db_select():                                 
         as of Drupal 8.0.x, will be removed in Drupal 9.0.0. Instead, get        
         a database connection injected into your service from the container and  
         call select() on it. For example,                                        
 ------ ------------------------------------------------------------------------- 

 ------ ------------------------------------------------------------------------ 
  Line   modules/accessibility_testswarm/accessibility_testswarm.install         
 ------ ------------------------------------------------------------------------ 
  17     Call to deprecated function entity_create():                            
         in Drupal 8.0.x, will be removed before Drupal 9.0.0. Use               
         The method overriding Entity::create() for the entity type, e.g.        
         \Drupal\node\Entity\Node::create() if the entity type is known. If the  
         entity type is variable, use the entity storage's create() method to    
         construct a new entity:                                                 
  22     Call to deprecated function entity_create():                            
         in Drupal 8.0.x, will be removed before Drupal 9.0.0. Use               
         The method overriding Entity::create() for the entity type, e.g.        
         \Drupal\node\Entity\Node::create() if the entity type is known. If the  
         entity type is variable, use the entity storage's create() method to    
         construct a new entity:                                                 
  34     Call to deprecated function entity_create():                            
         in Drupal 8.0.x, will be removed before Drupal 9.0.0. Use               
         The method overriding Entity::create() for the entity type, e.g.        
         \Drupal\node\Entity\Node::create() if the entity type is known. If the  
         entity type is variable, use the entity storage's create() method to    
         construct a new entity:                                                 
  45     Call to deprecated function entity_create():                            
         in Drupal 8.0.x, will be removed before Drupal 9.0.0. Use               
         The method overriding Entity::create() for the entity type, e.g.        
         \Drupal\node\Entity\Node::create() if the entity type is known. If the  
         entity type is variable, use the entity storage's create() method to    
         construct a new entity:                                                 
  56     Call to deprecated function entity_create():                            
         in Drupal 8.0.x, will be removed before Drupal 9.0.0. Use               
         The method overriding Entity::create() for the entity type, e.g.        
         \Drupal\node\Entity\Node::create() if the entity type is known. If the  
         entity type is variable, use the entity storage's create() method to    
         construct a new entity:                                                 
  62     Call to deprecated function taxonomy_vocabulary_load_multiple():        
         in Drupal 8.0.0 and will be removed before Drupal 9.0.0. Use            
         \Drupal\taxonomy\Entity\Vocabulary::loadMultiple().                     
  66     Call to deprecated function entity_create():                            
         in Drupal 8.0.x, will be removed before Drupal 9.0.0. Use               
         The method overriding Entity::create() for the entity type, e.g.        
         \Drupal\node\Entity\Node::create() if the entity type is known. If the  
         entity type is variable, use the entity storage's create() method to    
         construct a new entity:                                                 
  70     Call to deprecated function entity_create():                            
         in Drupal 8.0.x, will be removed before Drupal 9.0.0. Use               
         The method overriding Entity::create() for the entity type, e.g.        
         \Drupal\node\Entity\Node::create() if the entity type is known. If the  
         entity type is variable, use the entity storage's create() method to    
         construct a new entity:                                                 
  79     Call to deprecated function entity_create():                            
         in Drupal 8.0.x, will be removed before Drupal 9.0.0. Use               
         The method overriding Entity::create() for the entity type, e.g.        
         \Drupal\node\Entity\Node::create() if the entity type is known. If the  
         entity type is variable, use the entity storage's create() method to    
         construct a new entity:                                                 
 ------ ------------------------------------------------------------------------ 

 ------ ------------------------------------------------------------------ 
  Line   modules/accessibility_testswarm/accessibility_testswarm.module    
 ------ ------------------------------------------------------------------ 
  14     Call to deprecated function libraries_get_path():                 
         Will be removed before a stable Drupal 8 release. Please use the  
         new library load and managment concepts described at:             
         https://www.drupal.org/node/2170763                               
  49     Call to deprecated function libraries_get_path():                 
         Will be removed before a stable Drupal 8 release. Please use the  
         new library load and managment concepts described at:             
         https://www.drupal.org/node/2170763                               
 ------ ------------------------------------------------------------------ 

 ------ ------------------------------------------------------------------------- 
  Line   modules/accessibility_testswarm/accessibility_testswarm.pages.inc        
 ------ ------------------------------------------------------------------------- 
  19     Call to deprecated function db_select():                                 
         as of Drupal 8.0.x, will be removed in Drupal 9.0.0. Instead, get        
         a database connection injected into your service from the container and  
         call select() on it. For example,                                        
 ------ ------------------------------------------------------------------------- 

 ------ --------------------------------------------------------------------------------------------------------------------------------------- 
  Line   modules/accessibility_testswarm/lib/Drupal/accessibility_testswarm/Form/AdminForm.php                                                  
 ------ --------------------------------------------------------------------------------------------------------------------------------------- 
         Class Drupal\accessibility_testswarm\Form\AdminForm was not found while trying to analyze it - autoloading is probably not configured properly.                                                                                                                              
 ------ --------------------------------------------------------------------------------------------------------------------------------------- 

 ------ ------------------------------------------------------------------------------------------------------------------------------------------- 
  Line   modules/accessibility_wysiwyg/lib/Drupal/accessibility_wysiwyg/Plugin/CKEditorPlugin/Accessibility.php                                     
 ------ ------------------------------------------------------------------------------------------------------------------------------------------- 
         Class Drupal\accessibility_wysiwyg\Plugin\CKEditorPlugin\Accessibility was not found while trying to analyze it - autoloading is probably not configured properly.                                                                                                                   
 ------ ------------------------------------------------------------------------------------------------------------------------------------------- 

                                                                                                                        
 [ERROR] Found 46 errors                                                                                                
                                                                                                                        
📌 Task
Status

Needs review

Version

1.0

Component

Code

Created by

🇮🇳India Sahana _N

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • First commit to issue fork.
Production build 0.71.5 2024