public function LeafletService::leafletIconDocumentationLink in Leaflet 2.1.x
Same name and namespace in other branches
- 8 src/LeafletService.php \Drupal\leaflet\LeafletService::leafletIconDocumentationLink()
- 2.0.x src/LeafletService.php \Drupal\leaflet\LeafletService::leafletIconDocumentationLink()
Leaflet Icon Documentation Link.
Return value
\Drupal\Core\GeneratedLink The Leaflet Icon Documentation Link.
File
- src/
LeafletService.php, line 313
Class
- LeafletService
- Provides a LeafletService class.
Namespace
Drupal\leafletCode
public function leafletIconDocumentationLink() {
return $this->link
->generate(t('Leaflet Icon Documentation'), Url::fromUri('https://leafletjs.com/reference-1.3.0.html#icon', [
'absolute' => TRUE,
'attributes' => [
'target' => 'blank',
],
]));
}