public function setFieldValue($fieldName, $fieldValue)
    {
        if (!$this->hasField($fieldName)) {
            throw new RuntimeException('Field "' . $fieldName . '" not found in Plugin Configuration');
        }

        $this->configuration['fields'][$fieldName]['data'] = $fieldValue;

        return $this;
    }
public function setFieldValue($fieldName, $fieldValue)
    {
        if (!$this->hasField($fieldName)) {
            throw new RuntimeException('Field "' . $fieldName . '" not found in Plugin Configuration');
        }

        $this->configuration['fields'][$fieldName]['data'] = $fieldValue;

        return $this;
    }
public function setFieldValue ( $ fieldName , $ fieldValue ) { if ( ! $ this -> hasField ( $ fieldName ) ) { throw new RuntimeException ( 'Field "' . $ fieldName . '" not found in Plugin Configuration' ) ; } $ this -> configuration [ 'fields' ] [ $ fieldName ] [ 'data' ] = $ fieldValue ; return $ this ; }
Get field element.

@param string $fieldName  Field name
@param mixed  $fieldValue Field value

@return mixed|null Field element value
Get field element .