nl_tokens: @method getInitialConfig @hide Registers a push notification .
pl_tokens: function ( config ) { var me = this ; if ( ! config . received ) { Ext . Logger . error ( 'Failed to pass a received callback. This is required.' ) ; } if ( config . type == null ) { Ext . Logger . error ( 'Failed to pass a type. This is required.' ) ; } return { success : function ( token ) { me . onSuccess ( token , config . success , config . scope || <mask> ) ; } , failure : function ( error ) { me . onFailure ( error , config . failure , config . scope || me ) ; } , received : function ( notifications ) { me . onReceived ( notifications , config . received , config . scope || me ) ; } , type : config . type } ; }