Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

onChangeState for Extension Manager #21693

Merged
merged 1 commit into from
Aug 21, 2018

Conversation

brianteeman
Copy link
Contributor

PR for #13278

Adds a trigger event so that you can capture when an extensin is disabled etc

To test
Apply this PR

and then in plugins\extension\joomla\joomla.php
add this code for testing

	public function onExtensionChangeState($context, $eid, $value)
	{
		die ('caught you');
	}

Now try to disable an extension in the manage screen and you should catch the event and the message is displayed

PR for joomla#13278

Adds a trigger event so that you can capture when an extensin is disabled etc

To test
Apply this PR

and then in plugins\extension\joomla\joomla.php
add this code for testing

	public function onExtensionChangeState($context, $eid, $value)
	{
		die ('caught you');
	}

Now try to disable an extension in the manage screen and you should catch the event and the messaage is displayed
@wilsonge
Copy link
Contributor

I have tested this item ✅ successfully on 2c98401

Works for me


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/21693.

@alikon
Copy link
Contributor

alikon commented Aug 19, 2018

I have tested this item ✅ successfully on 2c98401


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/21693.

@ghost
Copy link

ghost commented Aug 19, 2018

Ready to Commit after two successful tests.

@joomla-cms-bot joomla-cms-bot added the RTC This Pull Request is Ready To Commit label Aug 19, 2018
@mbabker mbabker changed the base branch from staging to 3.9-dev August 21, 2018 03:51
@mbabker mbabker added this to the Joomla 3.9.0 milestone Aug 21, 2018
@mbabker mbabker merged commit e5d231b into joomla:3.9-dev Aug 21, 2018
@joomla-cms-bot joomla-cms-bot added PR-3.9-dev and removed RTC This Pull Request is Ready To Commit labels Aug 21, 2018
@brianteeman
Copy link
Contributor Author

Thanks

@brianteeman brianteeman deleted the unin_stall_extension_gtrigger branch August 21, 2018 07:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants