Skip to content

Files

Latest commit

3351574 · Jan 3, 2024

History

History
30 lines (20 loc) · 471 Bytes

PLUGIN-API.md

File metadata and controls

30 lines (20 loc) · 471 Bytes

Plugin API

Profiles

Add Buttons to Profile Admin Menus

namespace Local\Plugin;

use Nether\Atlantis;
use Nether\Common;
use Nether\Atlantis\Plugin\Interfaces\ProfileView;

class ProfileAdminMenuExample
extends Atlantis\Plugin
implements ProfileView\AdminMenuSectionInterface {

	public function
	GetItemsForSection(Atlantis\Profile\Entity $Ent, string $Key):
	Common\Datastore {

		$Items = new Common\Datastore;

		// ...

		return $Items;
	}

};