nl_tokens: Returns script files defined by plugin developers as part of plugin . xml .
pl_tokens: function getPluginsHookScripts ( hook , opts ) { // args check if ( ! hook ) { throw new Error ( 'hook type is not specified' ) ; } // In case before_plugin_install, after_plugin_install, before_plugin_uninstall hooks we receive opts.plugin and // retrieve scripts exclusive for this plugin. if ( opts . plugin ) { events . emit ( 'verbose' , 'Finding scripts for "' + <mask> + '" hook from plugin ' + opts . plugin . id + ' on ' + opts . plugin . platform + ' platform only.' ) ; // if plugin hook is not run for specific platform then use all available platforms return getPluginScriptFiles ( opts . plugin , hook , opts . plugin . platform ? [ opts . plugin . platform ] : opts . cordova . platforms ) ; } return getAllPluginsHookScriptFiles ( hook , opts ) ; }