You are here

public function FontAwesome::getStyle in Social Media Links Block and Field 8.2

Return the available styles.

Return value

array The available styles/sizes of the iconset.

Overrides IconsetInterface::getStyle

File

src/Plugin/SocialMediaLinks/Iconset/FontAwesome.php, line 31

Class

FontAwesome
Provides 'elegantthemes' iconset.

Namespace

Drupal\social_media_links\Plugin\SocialMediaLinks\Iconset

Code

public function getStyle() {
  return [
    '2x' => 'fa-2x',
    '3x' => 'fa-3x',
    '4x' => 'fa-4x',
    '5x' => 'fa-5x',
    'in' => 'fa-in',
    'lg' => 'fa-lg',
    'fw' => 'fa-fw',
  ];
}