Issue #3107006 by Rangaswini, Hardik_Patel_12, hash6: Remove unused variable from media.module and from UrlResolver.php files

(cherry picked from commit 34599665e707a14211625485abaf52de6f0338aa)
merge-requests/64/head
catch 2020-02-06 14:03:57 +00:00
parent b57a81c762
commit 1c23653960
1 changed files with 1 additions and 1 deletions

View File

@ -426,7 +426,7 @@ function media_filter_format_edit_form_validate($form, FormStateInterface $form_
return (string) $form['filters']['order'][$filter_plugin_id]['filter']['#markup'];
};
if ($filter_html_enabled && $allowed_html = $form_state->getValue($allowed_html_path)) {
if ($filter_html_enabled && $form_state->getValue($allowed_html_path)) {
/** @var \Drupal\filter\Entity\FilterFormat $filter_format */
$filter_format = $form_state->getFormObject()->getEntity();