src/Placement.js
/**
         * Gets the template to use, accounting for configured preference if available
         * @param contentType
         * @param defaultName
         * @return {string}
         * @private
         */
Gets the template to use, accounting for configured preference if available
@param contentType
@param defaultName
@return {string}
@private
Gets the template to use accounting for configured preference if available @param contentType @param defaultName @return { string } @private
_getTemplate(contentType, defaultName) {
            let templateName = this.config.template_name;
            if (!templateName ||
                !okanjo.ui.engine.isTemplateRegistered(`${contentType}.${templateName}`)) {
                templateName = defaultName;
            }
            return `${contentType}.${templateName}`;
        }
_getTemplate ( contentType , defaultName ) { let templateName = this . config . template_name ; if ( ! templateName || ! okanjo . ui . engine . isTemplateRegistered ( ` ${ contentType } ${ templateName } ` ) ) { templateName = defaultName ; } return ` ${ contentType } ${ templateName } ` ; }
Gets the template to use, accounting for configured preference if available
 @param contentType
 @param defaultName
 @return {string}
 @private
Gets the template to use accounting for configured preference if available @param contentType @param defaultName @return { string } @private