160161162163164165166167168169170
ContextService contextService = Aura.getContextService(); contextService.assertEstablished(); def.validateDefinition(); defRegistry.save(def); } /** * Take in the information off the context and sanitize, populating dependencies. *