You are here

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

Define inital state if the service class is constructed.

File

src/IconsetFinderService.php, line 35

Class

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

Namespace

Drupal\social_media_links

Code

public function __construct(DrupalKernelInterface $kernel) {
  $this->kernel = $kernel;
  $this
    ->setSearchDirs();
  $this
    ->setIconsets();
}