File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed
app/code/Magento/PageBuilder/Model/Dom Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,14 @@ public function closest(string $selectors): ?ElementInterface;
45
45
*/
46
46
public function getAttribute ($ name ): ?string ;
47
47
48
+ /**
49
+ * Removes the Specified Attribute
50
+ *
51
+ * @param string $name
52
+ * @return bool|null
53
+ */
54
+ public function removeAttribute ($ name ): ?bool ;
55
+
48
56
/**
49
57
* Sets the value of the specified attribute
50
58
*
Original file line number Diff line number Diff line change @@ -79,6 +79,14 @@ public function getAttribute($name): ?string
79
79
return $ this ->element ->getAttribute ($ name );
80
80
}
81
81
82
+ /**
83
+ * @inheritDoc
84
+ */
85
+ public function removeAttribute ($ name ): ?bool
86
+ {
87
+ return $ this ->element ->removeAttribute ($ name );
88
+ }
89
+
82
90
/**
83
91
* @inheritDoc
84
92
*/
You can’t perform that action at this time.
0 commit comments