public function Common::closeButtonMarkup in Filebrowser 3.x
Same name and namespace in other branches
- 8.2 src/Services/Common.php \Drupal\filebrowser\Services\Common::closeButtonMarkup()
File
- src/
Services/ Common.php, line 369
Class
- Common
- Class Common @package Drupal\filebrowser\Services
Namespace
Drupal\filebrowser\ServicesCode
public function closeButtonMarkup() {
return [
'#markup' => Link::fromTextAndUrl($this
->t('Close'), Url::fromUserInput('#', [
'attributes' => [
'class' => [
'filebrowser-close-window-link',
],
],
]))
->toString(),
];
}