File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
Block/System/Config/Form/Field/FieldArray
view/adminhtml/templates/system/config/form/field Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -279,4 +279,12 @@ public function getColumns()
279
279
{
280
280
return $ this ->_columns ;
281
281
}
282
+
283
+ /**
284
+ * @return string
285
+ */
286
+ public function getAddButtonLabel ()
287
+ {
288
+ return $ this ->_addButtonLabel ;
289
+ }
282
290
}
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ $_colspan = $block->isAddAfter() ? 2 : 1;
28
28
<tr>
29
29
<td colspan="<?php echo count ($ block ->getColumns ())+$ _colspan ; ?> " class="col-actions-add">
30
30
<button id="addToEndBtn<?php /* @escapeNotVerified */ echo $ _htmlId ; ?> " class="action-add" title="<?php /* @escapeNotVerified */ echo __ ('Add ' ); ?> " type="button">
31
- <span><?php /* @escapeNotVerified */ echo $ block ->getAddButtonLabel (); ?> <?php /* @escapeNotVerified */ echo __ ( ' Add ' ); ?> < /span>
31
+ <span><?php /* @escapeNotVerified */ echo $ block ->getAddButtonLabel (); ?> </span>
32
32
</button>
33
33
</td>
34
34
</tr>
You can’t perform that action at this time.
0 commit comments