Remove deprecated code

Created on 23 March 2020, over 4 years ago
Updated 19 April 2023, about 1 year ago
 14/14 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%

 ------ ------------------------------------------------------------------------------ 
  Line   src/Plugin/Menu/Form/MenuLinkFieldForm.php                                    
 ------ ------------------------------------------------------------------------------ 
  32     Call to deprecated method url() of class Drupal\Core\Entity\EntityInterface:  
         in Drupal 8.0.0, intended to be removed in Drupal 9.0.0                       
         Please use toUrl() instead.                                                   
 ------ ------------------------------------------------------------------------------ 

 ------ ---------------------------------------------------------- 
  Line   tests/src/Kernel/Formatter/MenuLinkFormatterTest.php      
 ------ ---------------------------------------------------------- 
  120    Call to deprecated function entity_get_display():         
         as of Drupal 8.0.x, will be removed before Drupal 9.0.0.  
         If the display is available in configuration use:         
 ------ ---------------------------------------------------------- 

                                                                                                                        
 [ERROR] Found 2 errors                                                                                                 
                                                                                                                        

📌 Task
Status

Fixed

Version

2.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.

Production build 0.69.0 2024