Commit af036f62 authored by catch's avatar catch
Browse files

Issue #3112368 by Hardik_Patel_12, hash6: Remove unused variables from menu_ui module

parent 8d5344cd
......@@ -16,7 +16,6 @@ class MenuSettingsConstraintValidator extends ConstraintValidator {
public function validate($entity, Constraint $constraint) {
if (isset($entity) && !$entity->isNew() && !$entity->isDefaultRevision()) {
$defaults = menu_ui_get_menu_link_defaults($entity);
$violation_path = NULL;
// If the menu UI entity builder is not present and the menu property has
// not been set, do not attempt to validate the menu settings since they
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment