open-orchestra/open-orchestra-cms-bundle

View on GitHub
BackofficeBundle/Resources/public/ecmascript/OpenOrchestra/Service/SearchFormGroup/AbstractSearchFormGroup.js

Summary

Maintainability
A
0 mins
Test Coverage
/**
 * @class AbstractSearchFormGroup
 */
class AbstractSearchFormGroup
{
    /**
     * test if field is supported
     *
     * @param {Object} field
     */
    support(field) {
        throw new Error('Missing support method');
    }

    /**
     * render the field
     *
     * @param {Object} field
     */
    render(field) {
        throw new Error('Missing render method');
    }
}

export default AbstractSearchFormGroup;