public function FontAwesome::setPath in Social Media Links Block and Field 8.2
Set the path for the given iconset.
Parameters
string $iconset_id: The id of the iconset.
Overrides IconsetBase::setPath
File
- src/
Plugin/ SocialMediaLinks/ Iconset/ FontAwesome.php, line 24
Class
- FontAwesome
- Provides 'elegantthemes' iconset.
Namespace
Drupal\social_media_links\Plugin\SocialMediaLinks\IconsetCode
public function setPath($iconset_id) {
$this->path = $this->finder
->getPath($iconset_id) ? $this->finder
->getPath($iconset_id) : 'library';
}