/**
* Method to get the field input markup.
*
* @return string The field input markup.
*
* @since 1.7.3
*/
protected function getInput()
{
// Switch the layouts
if ($this->control === 'simple' || $this->control === 'slider') {
$this->layout .= '.' . $this->control;
} else {
$this->layout .= '.advanced';
}
// Trim the trailing line in the layout file
return rtrim($this->getRenderer($this->layout)->render($this->getLayoutData()), PHP_EOL);
}