17 public function saveIconFromUploadedFile(
string $input_name,
string $type =
'icon', array $coords = []): bool;
27 public function saveIconFromLocalFile(
string $filename,
string $type =
'icon', array $coords = []): bool;
37 public function saveIconFromElggFile(\
ElggFile $file,
string $type =
'icon', array $coords = []): bool;
55 public function deleteIcon(
string $type =
'icon'): bool;
65 public function getIconURL(array
$params): string;
75 public function getIconLastChange(
string $size,
string $type =
'icon'): ?int;
84 public function hasIcon(
string $size,
string $type =
'icon'): bool;
Entities that support icons should implement this interface.
$params
Saves global plugin settings.