You are here

public function LinkIconManager::simplifySettings in Link Icon 8

File

src/LinkIconManager.php, line 45

Class

LinkIconManager
Provides LinkIconManager service.

Namespace

Drupal\linkicon

Code

public function simplifySettings(array $settings = []) {
  $config = [];
  foreach ($settings as $key => $value) {
    $config[str_replace('linkicon_', '', $key)] = $value;
  }
  return $config;
}