public function renderElementPlugins($configContext, $typeConfig, $uniqueId, $attribute, $ngRestModel, $label, $elmni18n)
    {
        $args = $typeConfig['args'];
        $args['renderContext'] = $this;
        $obj = NgRest::createPluginObject($typeConfig['class'], $attribute, $label, $elmni18n, $args);
        $method = 'render'.ucfirst($configContext);
        $html = $obj->$method($uniqueId, $ngRestModel);

        // parsed the element output content to a string
        $content = is_array($html) ? implode(" ", $html) : $html;

        // wrapp a new tag around fields which are required.
        if ($configContext !== self::TYPE_LIST) {
            $isRequired = $this->getModel()->isAttributeRequired($attribute);
            if ($isRequired) {
                $content = '<span class="bold-form-label">'.$content.'</span>';
            }
        }

        return $content;
    }