Skip to content
Snippets Groups Projects

Issue #3238915: Refactor (if feasible) uses of the jQuery ready function to use VanillaJS

Closed Issue #3238915: Refactor (if feasible) uses of the jQuery ready function to use VanillaJS
Closed Harumi Jang requested to merge issue/drupal-3238915:3238915-refactor-if-feasible into 9.3.x
2 files
+ 21
4
Compare changes
  • Side-by-side
  • Inline
Files
2
  • c5bd67a8
    Issue #3258014 by alexpott: Fix plugin deprecations · c5bd67a8
    catch authored
@@ -2,8 +2,6 @@
@@ -2,8 +2,6 @@
namespace Drupal\migrate_drupal\Plugin\migrate\field;
namespace Drupal\migrate_drupal\Plugin\migrate\field;
@trigger_error('The ' . __NAMESPACE__ . '\NodeReference is deprecated in drupal:9.1.0 and will be removed from drupal:10.0.0. Instead use \Drupal\migrate_drupal\Plugin\migrate\field\d6\NodeReference. See https://www.drupal.org/node/3159537.', E_USER_DEPRECATED);
use Drupal\migrate_drupal\Plugin\migrate\field\d6\NodeReference as NonLegacyNodeReference;
use Drupal\migrate_drupal\Plugin\migrate\field\d6\NodeReference as NonLegacyNodeReference;
/**
/**
@@ -13,4 +11,14 @@
@@ -13,4 +11,14 @@
* @see https://www.drupal.org/node/3159537
* @see https://www.drupal.org/node/3159537
*/
*/
class NodeReference extends NonLegacyNodeReference {
class NodeReference extends NonLegacyNodeReference {
 
 
/**
 
* {@inheritdoc}
 
*/
 
public function __construct(array $configuration, $plugin_id, $plugin_definition) {
 
@trigger_error('The ' . __NAMESPACE__ . '\NodeReference is deprecated in drupal:9.1.0 and will be removed from drupal:10.0.0. Instead use \Drupal\migrate_drupal\Plugin\migrate\field\d6\NodeReference. See https://www.drupal.org/node/3159537.', E_USER_DEPRECATED);
 
 
parent::__construct($configuration, $plugin_id, $plugin_definition);
 
}
 
}
}
Loading