Remove Deprecations to make it compatible with D10

Created on 16 August 2023, 11 months ago
Updated 12 September 2023, 10 months ago

Problem/Motivation

Found the following Deprecation while checking the compatibility with D10 using drupal_check
Entity_reference_validators

Line entity_reference_validators.module
------ ----------------------------------------------
:35 Call to an undefined method
Drupal\Core\Form\FormInterface::getEntity().
------ ----------------------------------------------

------ ---------------------------------------------------------------------------
Line src/Plugin/Validation/Constraint/CircularReferenceConstraintValidator.php
------ ---------------------------------------------------------------------------
:50 Variable $value in isset() always exists and is not nullable.
:55 Variable $entity in isset() always exists and is not nullable.
:105 Call to an undefined method
Drupal\Core\Entity\EntityInterface::get().
------ ---------------------------------------------------------------------------

------ ----------------------------------------------------------------------------
Line src/Plugin/Validation/Constraint/DuplicateReferenceConstraintValidator.php
------ ----------------------------------------------------------------------------
:31 Access to an undefined property
Symfony\Component\Validator\Constraint::$message.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Fixed

Component

Code

Created by

🇮🇳India chaithanya.m

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

Comments & Activities

Production build 0.69.0 2024