Skip to content

Commit c793338

Browse files
Issue #3149167 by Project Update Bot: Automated Drupal 9 compatibility fixes
1 parent a9172bf commit c793338

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Plugin/UiPatterns/SettingType/AttributesSettingType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public function preprocess($value, array $context) {
4040
$value = parent::preprocess($value, $context);
4141
$parse_html = '<div ' . $value . '></div>';
4242
$attributes = [];
43-
foreach (HTML::load($parse_html)->getElementsByTagName('div') as $div) {
43+
foreach (Html::load($parse_html)->getElementsByTagName('div') as $div) {
4444
foreach ($div->attributes as $attr) {
4545
$attributes[$attr->nodeName] = $attr->nodeValue;
4646
}

0 commit comments

Comments
 (0)