You are here

public function IconsetFinderService::getIconsets in Social Media Links Block and Field 8.2

Returns the iconsets that are installed.

Return value

array The installed iconsets.

File

src/IconsetFinderService.php, line 136

Class

IconsetFinderService
Service class to detect the files of the iconsets/ in various directories.

Namespace

Drupal\social_media_links

Code

public function getIconsets() {
  return (array) $this->iconsets;
}