import { i18n } from '@kbn/i18n' ; import { HomePublicPluginSetup , FeatureCatalogueCategory , } from '../../../../src/plugins/home/public' ; export const registerFeature = ( home ) => { home . featureCatalogue . register ( { id : 'transform' , title : i18n . translate ( 'xpack.transform.transformsTitle' , { defaultMessage : 'Transforms' , } ) , description : i18n . translate ( 'xpack.transform.transformsDescription' , { defaultMessage : 'Use transforms to pivot existing Elasticsearch indices into summarized entity-centric indices or to create an indexed view of the latest documents for fast access.' , } ) , icon : 'managementApp' , path : '/app/management/data/transform' , showOnHomePage : false , category : FeatureCatalogueCategory . ADMIN , } ) ; } ;