Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment