30 parent::__construct($factoryElement, $factoryCollection, $escaper,
$data);
32 $this->setLineCount(2);
62 return parent::getLabelHtml(
$suffix, $scopeLabel);
73 $lineCount = $this->getLineCount();
75 for (
$i = 0;
$i < $lineCount;
$i++) {
76 if (
$i == 0 && $this->getRequired()) {
77 $this->setClass(
'input-text admin__control-text required-entry _required');
79 $this->setClass(
'input-text admin__control-text');
81 $html .=
'<div class="multi-input admin__field-control"><input id="' .
112 $lineCount = $this->getLineCount();
114 for (
$i = 0;
$i < $lineCount;
$i++) {
115 $html .= $this->getNoSpan() ===
true ?
'' :
'<span class="field-row">' .
"\n";
117 $html .=
'<label for="' .
122 ($this->getRequired() ?
' <span class="required">*</span>' :
'') .
125 if ($this->getRequired()) {
126 $this->setClass(
'input-text required-entry');
129 $this->setClass(
'input-text');
130 $html .=
'<label> </label>' .
"\n";
132 $html .=
'<input id="' .
149 $html .= $this->getNoSpan() ===
true ?
'' :
'</span>' .
"\n";
159 $value = $this->getValue();
167 return parent::getEscapedValue(
$index);