english/administrator/components/com_plugins/models/plugin.php
/**
	 * Override method to save the form data.
	 *
	 * @param	array	The form data.
	 * @return	boolean	True on success.
	 * @since	1.6
	 */
Override method to save the form data.
@param       array   The form data.
@return      boolean True on success.
Override method to save the form data . @param array The form data . @return boolean True on success .
public function save($data)
	{
		JPluginHelper::importPlugin('extension');
		$data['type'] = 'plugin';
		return parent::save($data);
	}
public function save ( $ data ) { JPluginHelper :: importPlugin ( 'extension' ) ; $ data [ 'type' ] = 'plugin' ; return parent :: save ( $ data ) ; }
Override method to save the form data.
Override method to save the form data .
// Load the extension plugin group. // Setup type