public static function WebformAttachmentInterface::getFileLink in Webform 8.5
Same name and namespace in other branches
- 6.x modules/webform_attachment/src/Element/WebformAttachmentInterface.php \Drupal\webform_attachment\Element\WebformAttachmentInterface::getFileLink()
Get a webform attachment's file link.
Parameters
array $element: The webform attachment element.
\Drupal\webform\WebformSubmissionInterface $webform_submission: A webform submission.
Return value
array A renderable array containing a link to the webform attachment's URL.
1 method overrides WebformAttachmentInterface::getFileLink()
- WebformAttachmentBase::getFileLink in modules/
webform_attachment/ src/ Element/ WebformAttachmentBase.php - Get a webform attachment's file link.
File
- modules/
webform_attachment/ src/ Element/ WebformAttachmentInterface.php, line 76
Class
- WebformAttachmentInterface
- Provides an interface for webform attachment elements.
Namespace
Drupal\webform_attachment\ElementCode
public static function getFileLink(array $element, WebformSubmissionInterface $webform_submission);