hypejunction/actions_delete

Generic delete action

Installs: 35

Dependents: 0

Suggesters: 1

Security: 0

Stars: 0

Watchers: 3

Forks: 0

Open Issues: 1

Language:JavaScript

Type:elgg-plugin

1.1.1 2015-12-27 12:21 UTC

This package is auto-updated.

Last update: 2024-03-29 03:36:58 UTC


README

Elgg 1.11 Elgg 1.12 Elgg 2.x

Generic delete action controller

Usage

echo elgg_view('output/url', array(
	'text' => elgg_view_icon('delete'),
	'href' => '/action/entity/delete?guid=123",
	'is_action' => true,
));

You can alternatively add a forward URL:

$action_url = elgg_http_add_url_query_elements('/action/entity/delete', array(
	'guid' => 456,
	'forward_url' => '/path/to/forward/to',
));