Patched to Drupal 8.4.8 level. See https://www.drupal.org/sa-core-2018-004 and patch...
[yaffs-website] / vendor / jcalderonzumba / gastonjs / src / Browser / BrowserFileTrait.php
1 <?php
2
3 namespace Zumba\GastonJS\Browser;
4
5 /**
6  * Trait BrowserFileTrait
7  * @package Zumba\GastonJS\Browser
8  */
9 trait BrowserFileTrait {
10   /**
11    * Selects a file to send to the browser to a given page
12    * @param $pageId
13    * @param $elementId
14    * @param $value
15    * @return mixed
16    */
17   public function selectFile($pageId, $elementId, $value) {
18     return $this->command('select_file', $pageId, $elementId, $value);
19   }
20 }