/** * Gets the JavaScript paths associated with the widget. * * @return array An array of JavaScript paths */ public function getJavascripts() { return Select2::addJavascripts($this->getOption('culture')); }